Comments (1)
Some strings have a special meaning in Lua and in the WoW API and are colorized accordingly. For instance, the string "CENTER"
may be used as a parameter to the SetPoint()
function.
Currently, WoW Bundle recognizes and colorizes the following strings:
- Global event names like
"PLAYER_ENTERING_WORD"
,"VARIABLES_LOADED"
, etc. - Widgets script handlers like
"OnLoad"
,"OnEnter"
, etc. - A bunch of special parameters to most API functions like
SetPoint()
(e.g."CENTER"
,"ANCHOR_LEFT"
, etc.),SetFrameStrata()
(e.g."BACKGROUND"
,"HIGH"
, etc.) - A bunch of special parameters to some Lua functions like
type()
(e.g."number"
,"nil"
, etc.),__mode
(e.g."kv"
, etc.)
Also, please note that WoW Bundle features 3 special themes that help with colorizing anything WoW-related. For instance, your code would look like this with the theme named Dark+ (WoW)
:
See the description in README.md for more info.
from vscode-wow-bundle.
Related Issues (13)
- Change lineHighlight color HOT 2
- Been using this for a while, but really would like some improvments HOT 1
- Any hope that you will upgrade to 8.0.1
- Update for 8.1.5 from BlizzardInterfaceResources HOT 3
- Project Health Query HOT 2
- 3.3.5 support
- Wrong color on Dark+ (WoW) theme HOT 4
- Problem with invalid API HOT 2
- Folding and multi-line strings HOT 1
- Upstream has picked up steam
- Function completion?
- Support for 8.0+? HOT 1
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-wow-bundle.