Giter VIP home page Giter VIP logo

vscode-asm-syntaxhighlight's Introduction

vscode-asm-syntaxhighlight

Write assembler with proper syntax highlighting.

billede

Features

Adds support for

  • File extensions:
    • .s
    • .asm
    • .6502
  • Syntax highlighting:
    • VASM
      • Oldstyle flavor
  • Instruction sets:
    • 6502

This extension does not aim toward supporting your current syntax-highlighing theme. At its current state, sublinetext's standards has been adabted to reasonable match assembly code, but many themes do not support many scopes. Therefor does this extension also ship with a theme that is designed to match the syntax-highlighting scopes to its full feature-set.

Requirements

This extension contains everything you need, no extra steps.

Extension Settings

None yet

Known Issues

This is a bare bone extension in its current state, many features still lack and bugs is likly to appere. Please check issues tab in the GitHub repository.

vscode-asm-syntaxhighlight's People

Contributors

kisg avatar toeffe3 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

migeran stahta01

vscode-asm-syntaxhighlight's Issues

[BUG]: Syntaxherr entity.name.section after incdir

Describe the bug
Path highlighting is not configured right, causing paths to appere as sections in directives such ad incdir

  incdir ../modules ;Relative path
  incdir ./modules ;Same folder path
  incdir modules ;Legal syntax for compiler 

Self-test report
Path has following properties

  1. entity.name.section
  2. source.asm

dots and slashes has:

  1. source.asm

Does this behaviour appear in a specific case or in the whole script? Everywhere though not applicable in many places

Screenshots or minimal (broken)working example
billede

[BUG]: Syntaxherr Doesn't highlight syntax in existing .asm files

Hello,

I'm running VSCode 1.65.2 under Zorin Core Linux 16.0. I've installed the extension and restarted VSCode. When I open an existing .asm file that I wrote to compile with vasm oldstyle, nothing is highlighted.

Here's a stupidly simple .asm file that compiles fine under vasm oldstyle:

    org $8000

start:
    lda #$FF
    sta $6003
    sta $6001

loop:
    jmp loop:

    org $FFFE
    word start

When I open that file, nothing is highlighted.

Is there something I should be doing to get the highlighting?

Thank you,
Rick

[FEATURE] Full support for existing themes

Many themes do not support highlighting the scopes introduced, although #5 improved upon this, most themes highlight <50% of the code.

Describe the solution you'd like
Create a list of scopes covered by themes on a general basis, and apply them accordingly.

Describe alternatives you've considered
Currently, the included theme solves this issue, but it is annoying to manually change the theme when changing between projects/files - this will also be improved upon with the above-mentioned solution.

[FEATURE] Semantic

Get feedback and autocomplete when coding

Describe the solution you'd like
Implement VSCodes semantic api

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.