mirror of
https://github.com/ksherlock/x65.git
synced 2025-08-09 17:25:00 +00:00
Tuning the lanuage extension for Visual Studio Code a bit
This commit is contained in:
@@ -1,2 +1,3 @@
|
|||||||
## 0.1.0
|
## 0.1.0
|
||||||
* Bunched together a shabby working version of Visual Studio Code editing of 6502 intended for assembling with x65
|
* 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.
|
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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
In order to "side load" this extension into visual studio code follow these steps
|
In order to "side load" this extension into visual studio code follow these steps
|
||||||
|
|
||||||
1. Install Visual Studio Code unless already Installed
|
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>
|
<key>name</key>
|
||||||
<string>directive</string>
|
<string>directive</string>
|
||||||
</dict>
|
</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>
|
</array>
|
||||||
</dict>
|
</dict>
|
||||||
<key>opcodes</key>
|
<key>opcodes</key>
|
||||||
@@ -76,7 +82,7 @@
|
|||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>match</key>
|
<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>
|
<key>name</key>
|
||||||
<string>keyword.other.opcode.6502.illegal</string>
|
<string>keyword.other.opcode.6502.illegal</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@@ -45,6 +45,17 @@
|
|||||||
<string>#00cc55</string>
|
<string>#00cc55</string>
|
||||||
</dict>
|
</dict>
|
||||||
</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>
|
<dict>
|
||||||
<key>name</key>
|
<key>name</key>
|
||||||
<string>Number</string>
|
<string>Number</string>
|
||||||
|
Reference in New Issue
Block a user