SuperFactoryManager icon indicating copy to clipboard operation
SuperFactoryManager copied to clipboard

How does one uses snippets and/or intellisense when using the Visual Studio Code extension?

Open Xiarno opened this issue 10 months ago • 7 comments

I'm trying to use the Visual Studio Code extension to help program some disks, but I cannot manage to get snippets and/or intellisense to work. How would one go about trying to use it please? Thanks!

PS: And tooltips too while I'm at it. Trying to hover over any keywords as described does nothing.

Xiarno avatar Jan 25 '26 20:01 Xiarno

Hey, to activate the extension you need to open a folder first, then open a file with the extension .sfm or .sfml

After that you should see a label gun on the bar where the commit is or the file. That means that everything is working.

Titop54 avatar Jan 25 '26 20:01 Titop54

Hey, to activate the extension you need to open a folder first, then open a file with the extension .sfm or .sfml

After that you should see a label gun on the bar where the commit is or the file. That means that everything is working.

Yeah I did all of that and I do see the label gun but that still doesn't explain to me how to use snippets and intellisense nor does the tooltips works either.

Xiarno avatar Jan 25 '26 21:01 Xiarno

For the tooltip, just put your cursor over a keywork, like input or every

For the snippets, there a few of them, if you put basic, it should give you another option or if you want to can put a prefix on the settings, like /basic

For intellisense, it will only work with words you already has put in the file or another one open

Titop54 avatar Jan 25 '26 21:01 Titop54

Ah alright I think I got it.

Tooltips wasn't working because I wasn't in a file. What I was doing was opening a new window and selecting the SFM language. I thought that was enough but you really do have to open a file. That's my bad.

Thanks for the help!

Xiarno avatar Jan 25 '26 21:01 Xiarno

Glad i could help, if you have any suggestions to improve it or any doubts, let me know, here or ever discord

I can't think of anything better to explain right now on how to start using the tool, so if you have any suggestions, well, let me know

Titop54 avatar Jan 25 '26 21:01 Titop54

Glad i could help, if you have any suggestions to improve it or any doubts, let me know, here or ever discord

I can't think of anything better to explain right now on how to start using the tool, so if you have any suggestions, well, let me know

Maybe have a "placeholder file" that you can open which only use for is to have the basic working for intellisense?

Xiarno avatar Jan 25 '26 21:01 Xiarno

I don't think it's possible with how vscode ways to activate/deactivate the extensions, but i will take a look when i can

Titop54 avatar Jan 25 '26 22:01 Titop54