Vscode-project-manager: Click or enter in project list does not work

Created on 20 Apr 2016  路  10Comments  路  Source: alefragnani/vscode-project-manager

Hi

Everything is in the title. When i list my projects and want to load one, click or enter does nothing

Platform : Mac Os X 10.11.3 , VSCode latest version, extensions up to date

bug question

Most helpful comment

Hi @airstep ,
I pretend to update the extension to use the new API released in VSCode version 1.1. I will release the update in the next week. Stay tunned ;-)

All 10 comments

I am having the same issue on Windows 7 machine. My extensions are up to date as well.

Hi,

Did you defined the projectManager.codePath setting, as described in readme.md.

Hope this helps

Hi @mhedgpeth .

Any news about it? Are you still having any problem?

Apologies for the delay, I had to reimage my laptop after replying to the issue. It now works for me on a windows machine. I cloned the repo and see that the projectManager.codePath setting defaults to "code" if not defined, which works for windows installations.

Good to know :+1:
What about you @jarod51? Are you still having problems?

UPDATE: I was referencing code from the incorrect Program Files folder. I should have used Program Files (x86) not Program Files.

I am having the same issue- Windows 10, I have tried the following two line in my settings.

    // Indicate the full Code app path
    "projectManager.codePath": "code",
    // Indicate the full Code app path
    "projectManager.codePath": "C:\\Program Files\\Microsoft VS Code\\Bin\\Code.cmd",

Any my projects.json looks like this...

[
    {
        "label": "Spider Man (1)",
        "description": "c:\\src\\blah1"
    },
    {
        "label": "Iron Man (2)",
        "description": "c:\\src\\blah2"
    },
    {
        "label": "Flash (3)",
        "description": "c:\\src\\blah3"
    }
]

Does it look like I am missing anything?

Hi @johnemau .

Do you have a _32bits_ or _64bits_ Windows installation? If you have a _64bits_ installation then your path should be C:\\Program Files (x86)\\Microsoft VS Code\\Bin\\Code.cmd.

I hope this kind of problem to disappear with the next VSCode release, since a new API will be available and this setting will not be needed anymore.

Hope this helps.

X:Program Files (x86)\Microsoft VS Code\Bin\Code.cmd
X is your Code app path. Right click VS Code, view Property item.

My VS Code(x64): D:Program Files (x86)\Microsoft VS Code\Bin\Code.cmd

And what about linux support? Any updates? Still can't open project... ((
Linux archy 4.5.1-1-ARCH #1 SMP PREEMPT Thu Apr 14 19:19:32 CEST 2016 x86_64 GNU/Linux

And it's strange, because it need just open a folder by defined path...

So, I'm added such code after exec(..) command line 154:

child.stdout.on('data', (data) => { vscode.window.showInformationMessage(data); }); child.stderr.on('data', (data) => { vscode.window.showErrorMessage(data); });

And get at the output:
"module.js:338
throw err;
Error: Cannot find module '/home/taras/work/android/MusicProject'
at Function.Module._resolveFilename (module.js:336:15) at Function.Module._load (module.js:286:25)
at Function.Module.runMain (module.js:475:10)
at startup (node.js:130:18)
at node.js:982:3"

(my node --vesrion => 5.8.0)

And path ('/home/taras/work/android/MusicProject') is exists. Whats wrong?

Also projectManager.codePath is defined and correct...

Hi @airstep ,
I pretend to update the extension to use the new API released in VSCode version 1.1. I will release the update in the next week. Stay tunned ;-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jrwrigh picture jrwrigh  路  3Comments

s97712 picture s97712  路  4Comments

steverandy picture steverandy  路  3Comments

frontcraft picture frontcraft  路  4Comments

johnbillion picture johnbillion  路  3Comments