Variable prefix for custom file types

Heyo,

I'm in a class writing som assembly for sparc machines. Trying to streamline typing it out. So I made custom file type for it. But I'm struggling to figure out how to auto complete the registers (%l0, %g0 etc) without typing the "%" character like i an do in phpstorm with variable.(ie i can type 'my_var' and it will auto complete to '$my_variable')

1 comment
Comment actions Permalink

Hi Jace.

Setting custom file types is a good thing for working with some languages which don't have official support by the IDE. But the development resources are limited, and we don’t generally need it ourselves so investments into such support are not too likely. In order to provide more feature-rich language support you may write a language plugin (see this tutorial for reference).

0

Please sign in to leave a comment.