13xforever / x86-assembly-textmate-bundle

A bundle for TextMate/Sublime Text providing syntax highlighting for x86 assembly code.
MIT License
82 stars 24 forks source link

VS code unable to build nasm code #13

Closed Furqan136 closed 5 years ago

Furqan136 commented 5 years ago

With Sublime Text 3, I edited NASM.sublime-build file and added ` { "cmd": ["nasm", "-f", "bin", "${file}","-l", "${file_base_name}.lst" , "-o", "${file_base_name}.com"], "file_regex": "^(..[^:]):([0-9]+):?([0-9]+)?:? (.)$", "working_dir": "${file_path}" }

` This made ST3 build my .asm files and highlight errors. I need to do the same for vscode version of this extension but I can't figure it out. Can you suggest solution.

13xforever commented 5 years ago

You'll have to write an appropriate build task, documentation is available at vscode website: https://code.visualstudio.com/docs/editor/tasks