Turbo Macro Pro X support improvements#113
Turbo Macro Pro X support improvements#113laplace7 wants to merge 29 commits intorolandshacks:masterfrom
Conversation
These are constants for representing PETSCII codes that can't be typed on PC
To avoid seeing all label uses as macro calls in instructions, such as `lda#const`, macros can only be invoked at the start of a line or after a label (maybe other cases?). The loose detection of acme macros (`+...`) impacts operator usage; acme also should only be identifying macro calls before instructions.
It's hard to choose what scopes to use, out-of-the-box syntax colours for assembly are pretty poor for assembly in VSCode.
* Added schema for file project-config.json. That way code completion
and documentation is available when users edits the file in vscode.
* Improved tmpx build support:
- respect project property "main" for main source file
- added property "cwd" for the current working directory,
where tmpx is executed. This is necessary so that
.includes relative to the main.asm file work correctly.
* Added Turbo Macro Pro specific files:
- grammar
- language
- snippets
* Added TMP 06 Compatibility settings:
- Max Code Line Length
- Max Comment Line Length
* The languageId for assembly source files is now "tmpx" if
the toolkit is "tmpx".
* Added a simple tmpx code formatter.
It only indents code lines that have no leading label.
|
I have tested all examples (acme, basic, basic_tsb, cc65, kick, llvm, oscar64, tmpx) under Linux Mint
I have added problem matches for llvm, cc65, tmpx as no problems were shown |
|
|
|
Hi. While this all is impressive effort - the size of those PRs are a real challenge given the limited time for me to review. |
|
FYI: I currently doing some major refactoring which will soon come with 2.7.2+. Maybe that would be a better baseline for functional changes. |
|
That sounds good. |
This PR extends the branch from PR #99
and documentation is available when users edits the file in vscode.
where tmpx is executed. This is necessary so that
.includes relative to the main.asm file work correctly.
the toolkit is "tmpx".
It only indents code lines that have no leading label.
Comment lines (starting with a semi-colon) are not changed.