Skip to content

tmpx support improvements for vs64 vscode extension#2

Closed
laplace7 wants to merge 10 commits into
Llamato:masterfrom
laplace7:complete_tmp_pr
Closed

tmpx support improvements for vs64 vscode extension#2
laplace7 wants to merge 10 commits into
Llamato:masterfrom
laplace7:complete_tmp_pr

Conversation

@laplace7
Copy link
Copy Markdown

@laplace7 laplace7 commented Apr 20, 2026

  • 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.
    Comment lines (starting with a semi-colon) are not changed.
  • Removed acme, tmpx, kick from generic asm grammar as there are specific grammars already!
  • Removed duplicate command vs64.createProjectTmpx
  • Resolve all lables in all source files
  • Add problem matcher for llvm toolkit
  • Add problem matcher for cc65 toolkit
  • Modernize tmpx example (move code in folder src)

* 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.
@laplace7
Copy link
Copy Markdown
Author

Bitte um Review. Vielleicht schaffen wir gemeinsam, den Support für Turbo Macro Pro in VS64 zu bekommen ;-)

@laplace7
Copy link
Copy Markdown
Author

laplace7 commented Apr 21, 2026

I have tested all examples (acme, basic, basic_tsb, cc65, kick, llvm, oscar64, tmpx) under Linux Mint

  • opened the project, build and run it
  • confirmed that syntax highlighting works
  • confirmed that symbol references work
  • cc65, llvm, oscar64: symbol references do NOT seem to work in .c-files
  • entered a syntax error into the source file, saved the file, and confirmed that problem marker is displayed
  • removed the syntax error, build and run it

I have added problem matches for llvm, cc65, tmpx as no problems were shown

@laplace7
Copy link
Copy Markdown
Author

Closed PR. I have created a new PR rolandshacks#113 instead!

@laplace7 laplace7 closed this Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants