mirror of
https://github.com/ksherlock/x65.git
synced 2025-02-05 17:31:09 +00:00
Tuning the lanuage extension for Visual Studio Code a bit
This commit is contained in:
parent
e37bf5ae11
commit
adcefe4bff
@ -1,2 +1,3 @@
|
||||
## 0.1.0
|
||||
* Bunched together a shabby working version of Visual Studio Code editing of 6502 intended for assembling with x65
|
||||
* Added coloring for section control
|
@ -4,6 +4,8 @@
|
||||
|
||||
As I don't like the marketplaceification of seemingly simple tools I'm not putting this on the visual studio coded marketplace, but if anyone wants to do that I don't mind.
|
||||
|
||||
![Visual studio code screenshot](example.png)
|
||||
|
||||
In order to "side load" this extension into visual studio code follow these steps
|
||||
|
||||
1. Install Visual Studio Code unless already Installed
|
||||
|
BIN
vscode/example.png
Normal file
BIN
vscode/example.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
@ -56,6 +56,12 @@
|
||||
<key>name</key>
|
||||
<string>directive</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(?i)((^|\s+)(XDEF|XREF|SECTION|SEG|SEGMENT|MERGE|LINK|INCOBJ)|\s+ert)\b</string>
|
||||
<key>name</key>
|
||||
<string>control.segment</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<key>opcodes</key>
|
||||
@ -76,7 +82,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(?i)(\s+|(?<=:))(aso|rln|lse|rrd|sax|lax|dcp|isb|anc|alr|arr|ane|anx|sbx|las|sha|shs|shx|shy|npo|cim|dop|top)(?=\s+|[:$#(])</string>
|
||||
<string>\b(aso|rln|lse|rrd|sax|lax|dcp|isb|anc|alr|arr|ane|anx|sbx|las|sha|shs|shx|shy|npo|cim|dop|top)\b</string>
|
||||
<key>name</key>
|
||||
<string>keyword.other.opcode.6502.illegal</string>
|
||||
</dict>
|
||||
|
@ -45,6 +45,17 @@
|
||||
<string>#00cc55</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>SegmentControl</string>
|
||||
<key>scope</key>
|
||||
<string>control.segment</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#a0ff80</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Number</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user