Comments (6)
static、global 属于 storage.modifier
and、or 属于运算符关键字
loop等 属于控制语句关键字
=>胖剪头函数定义不属于运算符
最后高亮实现是由主题插件根据相应的textmate scopes显示不同的主题定义的颜色
from vscode-autohotkey2-lsp.
我认同您的部分说法,不过仍有in、case中的函数、PgUp、&这4个问题QAQ
from vscode-autohotkey2-lsp.
in
也是运算符
热键a & b::
中 a
和b
属于按键,&
则是连接用的,目前是归到运算符中
PgUp和case中函数的问题在修复了
from vscode-autohotkey2-lsp.
我刚查了一下文档,in有两种含义,第一个确实是运算符(保留的,目前没有用),第二个是与for组成for ... in ...的控制结构。如果in的含义是后者,可不可以让in与for为同种颜色QAQ
from vscode-autohotkey2-lsp.
也参考了typescript中的textmate scopes分类
当然你也可以修改插件目录下syntaxes\ahk2.tmLanguage.json
文件
from vscode-autohotkey2-lsp.
好的~感谢大佬
from vscode-autohotkey2-lsp.
Related Issues (20)
- v2.4.4 breaks code format indentation HOT 2
- The issue with the format document
- "Ahk2Exe.exe" was not found!" when not in default location. HOT 3
- [Feature Request] Provide link to official doc when hover. HOT 3
- Include Files issue - CTRL-V causes duplication HOT 1
- Gui.Prototype.AddPic and Gui.Prototype.AddDDL are not defined
- IntelliSense completion of property string values HOT 5
- Cant Debug currently opened file HOT 7
- Error on include path even when AHK runs correctly HOT 4
- [2.4.5] Intellisense issue with objects stored in properties HOT 4
- "Class Static Member Check" setting is described ambiguously and/or doesn't take effect immediately HOT 2
- Detect dynamically defined properties and `static prototype.x := y`
- `this.z ??=` not recognized as a definition like `this.z :=`
- Unwanted diagnostic for partial property names: `a` in `this.a%b%`
- Apply "function call requires parentheses" diagnostic to `throw`
- Joy30 generate error, it is a valid hotkey
- Failed to apply variable name edit on static property
- Working together with AutoHotkey Plus Plus HOT 4
- Can't access nlark or taobao to contribute to this project HOT 4
- Debug Script Button ignores selected debug configuration from launch.json HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-autohotkey2-lsp.