Contributing: Add more text editors with AGC syntax support

This commit is contained in:
James Harris 2020-02-21 01:40:19 +00:00
parent 95b9c25371
commit 82431b26f2
No known key found for this signature in database
GPG Key ID: 0A08F35726D8962B
2 changed files with 49 additions and 10 deletions

View File

@ -19,11 +19,30 @@
## 有用的扩展
GitHub内建会支持AGC汇编语言语法。不幸的是你的代码编辑器不会但有些
AGC的语言扩展插件可以为下列的编辑器提供语法高亮显示支持
AGC的语言扩展插件可以为下列的编辑器提供语法高亮显示支持
- [Atom][Atom]†
- [CodeBlocks][CodeBlocks]
- [Eclipse][Eclipse]
- [Kate][Kate]
- [ProgrammersNotepad][ProgrammersNotepad]
- [Sublime Text 3][Sublime Text]†
- [TextPad][TextPad]
- [Vim][Vim]
- [Visual Studio Code][VisualStudioCode]†
- [jEdit][jEdit]
- [Atom][5]
- [Sublime Text 3][4]
- [Visual Studio Code][3]
† Supports automatic formatting
[Atom]:https://github.com/Alhadis/language-agc
[CodeBlocks]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/CodeBlocks
[Eclipse]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/Eclipse
[Kate]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/Kate
[ProgrammersNotepad]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/ProgrammersNotepad
[Sublime Text]:https://github.com/jimlawton/AGC-Assembly
[TextPad]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/TextPad
[Vim]:https://github.com/wsdjeg/vim-assembly
[VisualStudioCode]:https://github.com/wopian/agc-assembly
[jEdit]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/jEdit
## 格式化
**注意**GitHub和上面列出的3个扩展插件会确保您自动使用正确的格式。
@ -44,9 +63,9 @@ AGC的语言扩展插件可以为下列的编辑器提供语法高亮显示支
- 第1列中带**__out__* `R0000` 的换行符应该只包含一个或2个连续空行。
- 如果有超过2个空行换行请删除额外的空白行换行。
- 第1列中带`R0000`的行不计入此。
- 在原始图片中这些是由一个未打印的数字分8列创建. A 2 处强制两个空格单个空白行A 3 强制三个空格双空行。值4-8是被定义但从未使用过。可在[#159][7]查看更多
例如以下内容:
@ -72,7 +91,7 @@ R0820
- 新单词另起一个空格.
- 新句另起两个空格.
- 缩进占三个空格.
例如以下内容:
```plain

View File

@ -23,9 +23,29 @@
## 實用套件
GitHub 內建 AGC 組語語法支援,但你的編輯器並沒有。不過,某些編輯器有提供 AGC 語法突顯的語言套件:
- [Atom][5]
- [Sublime Text 3][4]
- [Visual Studio Code][3]
- [Atom][Atom]†
- [CodeBlocks][CodeBlocks]
- [Eclipse][Eclipse]
- [Kate][Kate]
- [ProgrammersNotepad][ProgrammersNotepad]
- [Sublime Text 3][Sublime Text]†
- [TextPad][TextPad]
- [Vim][Vim]
- [Visual Studio Code][VisualStudioCode]†
- [jEdit][jEdit]
† Supports automatic formatting
[Atom]:https://github.com/Alhadis/language-agc
[CodeBlocks]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/CodeBlocks
[Eclipse]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/Eclipse
[Kate]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/Kate
[ProgrammersNotepad]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/ProgrammersNotepad
[Sublime Text]:https://github.com/jimlawton/AGC-Assembly
[TextPad]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/TextPad
[Vim]:https://github.com/wsdjeg/vim-assembly
[VisualStudioCode]:https://github.com/wopian/agc-assembly
[jEdit]:https://github.com/virtualagc/virtualagc/tree/master/Contributed/SyntaxHighlight/jEdit
## 格式化
**注意:**GitHub 與上面列出的套件,會自動確保您使用正確的格式。