It is currently Wed Oct 23, 2019 6:37 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Sun May 05, 2019 2:06 am 
Offline
Addict
Addict
User avatar

Joined: Mon May 26, 2003 3:07 pm
Posts: 1477
Location: Nantes
Hi,
I'm working on the following features:
  • code explorer (outline panel on the left)
  • code validation

Update v0.1.2
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: Tue May 07, 2019 10:14 am 
Offline
Enthusiast
Enthusiast

Joined: Thu May 30, 2013 4:39 pm
Posts: 468
Hi,

I'm using this code to compile on OSX. The Compile works, but the Run not.
What is wrong?

Code:
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Compile (test)",
            "type": "shell",
            "command": "${PUREBASIC_HOME}/compilers/pbcompiler -e myTestApp.app -d -o PB_Editor_CreateExecutable=1 Test_PB.pb",
            "group": {
                "kind": "build",
                "isDefault": true
            }
        },
        {
            "label": "Compile (build)",
            "type": "shell",
            "command": "${PUREBASIC_HOME}/compilers/pbcompiler -e myTestApp.app -o PB_Editor_CreateExecutable=1 Test_PB.pb",
            "group": "build",

           
        },
        {
            "label": "Run",
            "type": "shell",
            "command": "~/Desktop/myTestApp",
            "dependsOn": [
                "Compile (test)"
            ],
            "group": {
                "kind": "test",
                "isDefault": true
            }
        }
    ]
}


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Tue May 07, 2019 11:45 am 
Offline
User
User
User avatar

Joined: Thu Aug 09, 2007 11:26 am
Posts: 14
Location: Germany
Wolfram wrote:
Hi,

I'm using this code to compile on OSX. The Compile works, but the Run not.
What is wrong?


AFAIK, the "group" must be a hash containing a "kind" property (just like you already configured for the "Compile (test)" task).

_________________
ImageImageImageImage


Top
 Profile  
Reply with quote  
 Post subject: Re: PB language support for Visual Studio Code
PostPosted: Tue May 07, 2019 1:07 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu May 30, 2013 4:39 pm
Posts: 468
I try this but it runs only if I use "Run Task... / Run". It will not start if I use "Run Task... / Compile (test)".
Also I get no debugger output.

Code:
{
            "label": "Run",
            "type": "shell",
            "command": "open 'myTestApp.app'",
            "dependsOn": [
                "Compile (test)"
            ],
            "group": {
                "kind": "test",
                "isDefault": true
            },
            "problemMatcher": []
        }


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 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