Hollywood extension for Visual Studio Code (hw4vsc) released

Forum for discussion about the Windows IDE of Hollywood
User avatar
Clyde
Posts: 335
Joined: Sun Feb 14, 2010 12:38 pm
Location: Dresden / Germany

Re: Hollywood extension for Visual Studio Code (hw4vsc) released

Post by Clyde »

I updated the extension to 0.8.3. Some new code snippets were added (see changelog and https://github.com/JohnArcher/vscode-ho ... nippets.md).
Currently using: Hollywood 9 with Windows IDE and Hollywood 8 with Visual Studio Code and hw4vsc

tolkien
Posts: 178
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

Re: Hollywood extension for Visual Studio Code (hw4vsc) released

Post by tolkien »

I have recently doing hollywood code with this extension an it is great. Sadly it doesnt support online help yet but it really works fantastic.

User avatar
Clyde
Posts: 335
Joined: Sun Feb 14, 2010 12:38 pm
Location: Dresden / Germany

Re: Hollywood extension for Visual Studio Code (hw4vsc) released

Post by Clyde »

Thanks for the kind feedback, tolkien. Due to my new job I hadn't had the chance to do some further work, but supporting the (online) help is definitely on my list. I hope to continue work soon and I will priorize work for the help system.
Currently using: Hollywood 9 with Windows IDE and Hollywood 8 with Visual Studio Code and hw4vsc

tolkien
Posts: 178
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

Re: Hollywood extension for Visual Studio Code (hw4vsc) released

Post by tolkien »

Dont worry mate. You have done a great work already.

User avatar
mrupp
Posts: 66
Joined: Sun Jan 31, 2021 7:44 pm
Location: Switzerland
Contact:

Re: Hollywood extension for Visual Studio Code (hw4vsc) released

Post by mrupp »

Hi Clyde

Excellent work, I like it a lot!
Any chance to implement the recognition of functions, like it's done with JavaScript files?
Image

That would be really great.

And another thing I noticed: Intellisense doesn't seem to like the $ sign in variable names:
Image

Any chance to fix that?

Cheers and once again: really great work!
Michael

User avatar
Clyde
Posts: 335
Joined: Sun Feb 14, 2010 12:38 pm
Location: Dresden / Germany

Re: Hollywood extension for Visual Studio Code (hw4vsc) released

Post by Clyde »

Hi Michael,

thanks a lot, I am glad you like it!

I hadn't had any chance to work on the plugin since I started my new job in June 2020. :-( But to be honest your questions raise my motivation a lot. I will try to find some time this week and will have a look. I think, both of your wishes should be doable.

Cheers,
Clyde
Currently using: Hollywood 9 with Windows IDE and Hollywood 8 with Visual Studio Code and hw4vsc

Bugala
Posts: 992
Joined: Sun Feb 14, 2010 7:11 pm

Re: Hollywood extension for Visual Studio Code (hw4vsc) released

Post by Bugala »

Just checked the example picture of Hollywood extension and code looked so much easier to read that I decided to give this a try.

However, I have never used Vistual Studio before. So first question is if I am supposed to use Visual Studio or Visual Studio Code? Will this work on both or only on one of them? If on both, then what is the difference between these two?

User avatar
mrupp
Posts: 66
Joined: Sun Jan 31, 2021 7:44 pm
Location: Switzerland
Contact:

Re: Hollywood extension for Visual Studio Code (hw4vsc) released

Post by mrupp »

Bugala wrote:
Tue Mar 16, 2021 4:30 pm
However, I have never used Vistual Studio before. So first question is if I am supposed to use Visual Studio or Visual Studio Code? Will this work on both or only on one of them? If on both, then what is the difference between these two?
The extension is for VS Code and VS Code only. As for the differences, check out this link that explains it quite well:
https://www.infoworld.com/article/34368 ... hoose.html

Bugala
Posts: 992
Joined: Sun Feb 14, 2010 7:11 pm

Re: Hollywood extension for Visual Studio Code (hw4vsc) released

Post by Bugala »

Took a first try today, and while I wasnt exactly missing anything using Hollywood IDE, i have to say, wow, this Visual Studio Code really makes a big difference.

Especially finding something on my code is much easier with all that coloring, and that autocomplete text is very useful too and will also prevent some typing error at same time as speeding up typing names.

However, I currently have one big thing missing still. I don't seem to be able to figure out how I can get a list of my functions to display the same way as in Hollywood IDE I have list of all my functions on right side.

So how do I get this done in Visual Studio Code?

Bugala
Posts: 992
Joined: Sun Feb 14, 2010 7:11 pm

Re: Hollywood extension for Visual Studio Code (hw4vsc) released

Post by Bugala »

I found this "Shos Functions" extension to Visual Code, and while it doesn't support Hollywood files right away, it seems like you can add support yourself.

I already managed to add ".hws" support so it doesn't show the error of telling it is unsupported file type, but Now I would still need to figure out how to tell it how to recognise Hollywood Functions.

There is this place where you can put following:

Code: Select all

"native": "/function\\s+\\w+-?(\\w*)\\s*{/img",
"display": "/function\\s+(\\w+-?\\w*)/1i",
I don't think this is far from right, but unfortunately I am quite unfamiliar with these expressions, so anyone here who knows what I should write here?

For example I am completely missing what those /img and /1i mean in practice, I simply have no idea if they are important there or not, or if something needs to be done about them.

also I am missing what is the difference between "native" and "display" that why are there even two different of these and what do they do?

Post Reply