It is currently Sun Dec 16, 2018 4:09 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: PB language support for Visual Studio Code
PostPosted: Sun Aug 05, 2018 3:22 pm 
Offline
Addict
Addict
User avatar

Joined: Mon May 26, 2003 3:07 pm
Posts: 1475
Location: Nantes
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

_________________
Imagewin8.1 x64 5.31 | IDE | PB plugin | Tools | Sprite | JSON | visual tool


Last edited by eddy on Sun Dec 09, 2018 1:45 pm, edited 19 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Mon Aug 06, 2018 9:09 am 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13436
Location: France
Very cool, Thanks !


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Mon Aug 06, 2018 10:37 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 695
Location: Nottinghamshire UK
@eddy Fabulous my friend just whats needed!. :) (no disrespect to the pbide!)

Thanks Zebuddi. :)

_________________
malleo, caput, bang. Ego, comprehendunt in tempore


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Mon Aug 06, 2018 11:38 am 
Offline
User
User

Joined: Wed Sep 10, 2014 1:40 am
Posts: 35
Location: United Kingdom
Super handy. Thank you very much :D

_________________
Regards!

Mike

Senior software engineer in the VR industry.
https://www.indigofuzz.com


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Mon Aug 06, 2018 12:29 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Mar 02, 2004 1:20 pm
Posts: 989
Location: Amphibios 9
Thanks a lot! Image

and now please: IntelliSense and Build Tasks ;-)

Greetings ... Peter

_________________
Can't decide if i need a hug, an XXL coffee, 6 shots of vodka or 2 weeks of sleep.


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Mon Aug 06, 2018 5:13 pm 
Offline
Addict
Addict
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 4348
Location: Lyon - France
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)

_________________
ImageThe happiness is a road...
Not a destination


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Mon Aug 13, 2018 1:59 pm 
Offline
Moderator
Moderator
User avatar

Joined: Thu Dec 31, 2009 11:05 pm
Posts: 710
Location: Berlin and Ibiza
Very cool!

_________________
ImageImageImageImageImage


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Mon Aug 13, 2018 4:31 pm 
Online
Addict
Addict

Joined: Fri Apr 25, 2003 11:10 pm
Posts: 1183
I just found VS community edition for Mac, wonder if you VS extension would also work on the Mac?


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Mon Aug 13, 2018 5:25 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Mar 02, 2004 1:20 pm
Posts: 989
Location: Amphibios 9
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

_________________
Can't decide if i need a hug, an XXL coffee, 6 shots of vodka or 2 weeks of sleep.


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Mon Aug 13, 2018 5:49 pm 
Online
Addict
Addict

Joined: Fri Apr 25, 2003 11:10 pm
Posts: 1183
thanks Kiffi :)


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Thu Dec 06, 2018 8:39 am 
Offline
Addict
Addict
User avatar

Joined: Mon May 26, 2003 3:07 pm
Posts: 1475
Location: Nantes
- code auto indentation
- code beautfier
- code snippet support
- add dark theme
- add icon theme

Todo:
- code completion
- code outline (structure)

Image

_________________
Imagewin8.1 x64 5.31 | IDE | PB plugin | Tools | Sprite | JSON | visual tool


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Thu Dec 06, 2018 8:18 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Mar 02, 2004 1:20 pm
Posts: 989
Location: Amphibios 9
very cool, eddy! Keep on going! :D

_________________
Can't decide if i need a hug, an XXL coffee, 6 shots of vodka or 2 weeks of sleep.


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Thu Dec 06, 2018 10:39 pm 
Offline
User
User
User avatar

Joined: Thu Aug 09, 2007 11:26 am
Posts: 12
Location: Germany
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?

_________________
ImageImageImageImage


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Thu Dec 06, 2018 10:56 pm 
Offline
Addict
Addict
User avatar

Joined: Mon May 26, 2003 3:07 pm
Posts: 1475
Location: Nantes
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

_________________
Imagewin8.1 x64 5.31 | IDE | PB plugin | Tools | Sprite | JSON | visual tool


Last edited by eddy on Sun Dec 09, 2018 1:22 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Sun Dec 09, 2018 12:46 pm 
Offline
Addict
Addict
User avatar

Joined: Mon May 26, 2003 3:07 pm
Posts: 1475
Location: Nantes
Hi,
I published the Purebasic extension for VS Code. :D

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

_________________
Imagewin8.1 x64 5.31 | IDE | PB plugin | Tools | Sprite | JSON | visual tool


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye