JacquesLucke / blender_vscode

Visual Studio Code extension for Blender development.
MIT License
575 stars 75 forks source link

Blender: Start - cannot select Blender executable (Linux) #7

Closed fsoft72 closed 5 years ago

fsoft72 commented 5 years ago

Hello,

I cannot select the Blender Executable, when I select "Blender: Start" from the prompt, the requester that appears does not allow me to move on the file system, and the Blender I have in my path is not shown.

I am on Linux (KUbuntu 18.04) with the latest stable VSCode and latest Blender 2.80 beta

I have attached a small mp4 video showing exactly what happens on my machine.

blender-vscode.zip

JacquesLucke commented 5 years ago

I actually had the same problem as well sometimes. I thought it was something with my machine (which has similar issues sometimes). Now that I know that you have this as well, I'll investigate this more. Thanks!

For now you can insert the path manually in your settings. Just go into the preferences by running the Preferences: Open Settings (JSON) command. Then on the right side, insert a new setting "blender.executables": [ {"path": YOUR_PATH, "name": "", "isDebug": false}].

Note: This setting is only available in the User Settings, not in the Workspace Settings.

fsoft72 commented 5 years ago

Hi Jacques, setting the configuration manually works like a charm :-) And this extension really rocks!! Keep the good work! :+1:

BTW: is there a way to have VSCode autocompletion on bpy module methods and commands?

Thanks a lot

JacquesLucke commented 5 years ago

Yes, the extension will support (limited) autocompletion in the future. I want to implement that within this month.

aldebaran798 commented 5 years ago

@JacquesLucke you hear about this addon? https://github.com/nutti/fake-bpy-module/blob/master/docs/setup_visual_studio_code.md Great work!

JacquesLucke commented 5 years ago

I actually did not know this specific project yet. Thank you.

JacquesLucke commented 5 years ago

I did not have this problem in the last few months. Closing this for now. It can be reopened when the problems comes back.