Page 1 of 4

PB language support for Visual Studio Code

Posted: Sun Aug 05, 2018 3:22 pm
by eddy
Hi,

I publish some plugins to support PB language on VS Code Marketplace:
:arrow: VS Code extensions

Features
  • code auto indentation
  • code beautfier
  • code snippet support
  • add purebasic dark/light color themes
  • add purebasic icon theme
How to install

Image

How to choose color theme
  • Press F1
  • Enter "theme"
  • Select Color Theme
  • Select one of new PureBasic color themes
    :mrgreen: This will change colors of the editor and your code
Image

How to choose icon theme
  • Press F1
  • Enter "theme"
  • Select File Icon Theme
  • Select new PureBasic icon theme
    :mrgreen: This will change icons in file explorer and you'll see the red Z icon next to purebasic files
Image

How to insert snippet
It's an experimental project. There's syntax file (tmLanguage)

Image

Re: PB language support for Visual Studio Code

Posted: Mon Aug 06, 2018 9:09 am
by Fred
Very cool, Thanks !

Re: PB language support for Visual Studio Code

Posted: Mon Aug 06, 2018 10:37 am
by Zebuddi123
@eddy Fabulous my friend just whats needed!. :) (no disrespect to the pbide!)

Thanks Zebuddi. :)

Re: PB language support for Visual Studio Code

Posted: Mon Aug 06, 2018 11:38 am
by IndigoFuzz
Super handy. Thank you very much :D

Re: PB language support for Visual Studio Code

Posted: Mon Aug 06, 2018 12:29 pm
by Kiffi
Thanks a lot! Image

and now please: IntelliSense and Build Tasks ;-)

Greetings ... Peter

Re: PB language support for Visual Studio Code

Posted: Mon Aug 06, 2018 5:13 pm
by Kwai chang caine
Thanks to you, i have even discovered this splendid project open source "Visual Studio Code" :oops:
it must be said that we are not really used to the generosity of microsoft source code :shock:
I have download "Visual Studio Code" and make a test soon
Thanks for your thread, works, idea and sharing EDDY 8)

Re: PB language support for Visual Studio Code

Posted: Mon Aug 13, 2018 1:59 pm
by RSBasic
Very cool!

Re: PB language support for Visual Studio Code

Posted: Mon Aug 13, 2018 4:31 pm
by jack
I just found VS community edition for Mac, wonder if you VS extension would also work on the Mac?

Re: PB language support for Visual Studio Code

Posted: Mon Aug 13, 2018 5:25 pm
by Kiffi
jack wrote:I just found VS community edition for Mac, wonder if you VS extension would also work on the Mac?
eddy wrote this extension for Visual Studio Code; not for Visual Studio. Confusion danger! :)

Take a look: https://code.visualstudio.com/ (also works on a Mac)

Greetings ... Peter

Re: PB language support for Visual Studio Code

Posted: Mon Aug 13, 2018 5:49 pm
by jack
thanks Kiffi :)

Re: PB language support for Visual Studio Code

Posted: Thu Dec 06, 2018 8:39 am
by eddy
- code auto indentation
- code beautfier
- code snippet support
- add dark theme
- add icon theme

Todo:
- code completion
- code outline (structure)

Image

Re: PB language support for Visual Studio Code

Posted: Thu Dec 06, 2018 8:18 pm
by Kiffi
very cool, eddy! Keep on going! :D

Re: PB language support for Visual Studio Code

Posted: Thu Dec 06, 2018 10:39 pm
by Programie
I just gave your vscode PB language support a try. Awesome!

Is it right that the language support can only be used in the vscode instance started using "Launch Client"? How to install and use it in the "normal" vscode instance?

Re: PB language support for Visual Studio Code

Posted: Thu Dec 06, 2018 10:56 pm
by eddy
Programie wrote: Is it right that the language support can only be used in the vscode instance started using "Launch Client"? How to install and use it in the "normal" vscode instance?
Yes, it is.

But I plan to publish this first version to VS code MarketPlace.
It will be easier to install and test. :D

https://i.imgur.com/TA7TcL4.png

Re: PB language support for Visual Studio Code

Posted: Sun Dec 09, 2018 12:46 pm
by eddy
Hi,
I published the Purebasic extension for VS Code. :D

I splitted it into two plugins to make futur update easier.
Image