vurv78 / expression-ls Goto Github PK
View Code? Open in Web Editor NEWExpression2/ExpressionScript for VSCode
Home Page: https://marketplace.visualstudio.com/items?itemName=Vurv78.e2-ls
License: MIT License
Expression2/ExpressionScript for VSCode
Home Page: https://marketplace.visualstudio.com/items?itemName=Vurv78.e2-ls
License: MIT License
Need this for #5
Several of my e2's have this problem where the Extension says 'Don't use changed(). Either use ~ or call this code from where you changed the variable'
However, on every single one of these E2's the changed() is on a wirelink, and trying to use ~ on a wirelink just gives the error
No such operator: get number[string, number]
extension version: 1.2.0
Str = "some words"
Str:match("%w")
## I don't know this is intentional or not but pattern classes in format will be highlighted
format("number: %i", 1) ## here's a format function behaves normal
## keyword behaves normal
for(I = 1, 2) {
}
format("no arg: abc") ## without the comma things will be highlighted as the color of types and leave a opening parenthesis
## keyword won't match correctly
try {}
catch(Err) {}
) ## everything return normal after closing that parenthesis in vscode but will leaves one open in game
do {
}while()
format("something, some text: %s", "test text") ## format with a comma in the pattern will causing quote and parenthesis unclosed
## some syntax
do {
}while()
#") ## everything return normal if I close the quote and parenthesis
function test() {
print("test")
}
using the extensions version: 1.1.0
Expected behavior: comments appears as gray
Actual behavior: comments inside of a table will appear as unrecognized
code to reproduce the bug:
PST = table(
"session" = table(
"sessionname" = "autoload"
"history" = table(),
"queue" = table(),
"playlists" = table(),
"settings" = table(
"queueindex" = 1, ## 1~n
"historyindex" = 0, ## 0~-n
## listOnce, listLoop, singleLoop, randomLoop
"playmode" = "list",
"volume" = 1,
"range" = 1000,
"isplaying" = 0
)
)
)
Didn't know binary literals alongside imaginary/quaternion number literals existed at the time.
Find variable creations and @persist @outputs @inputs
variables and put them into vscode's autocomplete.
function entity:doStuff() {
print(This) # Should be highlighted as how self would be in other languages
}
Should be able to fold ifdef / ifndef
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.