Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click or enter in project list does not work #27

Closed
arnaud-lecat opened this issue Apr 20, 2016 · 10 comments
Closed

Click or enter in project list does not work #27

arnaud-lecat opened this issue Apr 20, 2016 · 10 comments
Assignees
Milestone

Comments

@arnaud-lecat
Copy link

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

@mhedgpeth
Copy link

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

@alefragnani
Copy link
Owner

alefragnani commented Apr 20, 2016

Hi,

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

Hope this helps

@alefragnani
Copy link
Owner

Hi @mhedgpeth .

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

@mhedgpeth
Copy link

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.

@alefragnani
Copy link
Owner

Good to know 👍
What about you @jarod51? Are you still having problems?

@johnemau
Copy link

johnemau commented May 4, 2016

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?

@alefragnani
Copy link
Owner

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.

@Linrstudio
Copy link

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

@airstep
Copy link

airstep commented May 10, 2016

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...

@alefragnani
Copy link
Owner

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 ;-)

@alefragnani alefragnani self-assigned this May 15, 2016
@alefragnani alefragnani added this to the 0.6.0 milestone May 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants