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

feat: add "blender" and "gdb" dev_environments #355

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

rwols
Copy link
Member

@rwols rwols commented Aug 22, 2024

These two environments will query the additional paths by calling the Blender or gdb executable. More testing is probably needed for Blender on macOS, because it's probably not on the $PATH, and the actual CLI executable is inside the /Applications/Blender.app folder.

What's also not great right now is that both these environments have a compiled native extension (_bpy and _gdb, respectively) and both of these applications don't have a corresponding .pyi interface file for these native extensions.

Actually, the same problem occurs for Sublime Text (sublime_api module is a native extension). However in the case of Sublime Text, this sublime_api module is completely wrapped in pure python classes/functions. So we don't notice that it doesn't have a .pyi interface file.

close #354
close #353

@rwols rwols requested a review from jfcherng August 22, 2024 18:58
jfcherng
jfcherng previously approved these changes Aug 22, 2024
These two environments will query the additional paths by calling
the Blender or gdb executable. More testing is probably needed for
Blender on macOS, because it's probably not on the $PATH, and the
actual CLI executable is inside the /Applications/Blender.app folder.

What's also not great right now is that both these environments have a compiled
native extension (_bpy and _gdb, respectively) and both of these applications
don't have a corresponding .pyi interface file for these native extensions.

Actually, the same problem occurs for Sublime Text (sublime_api module is a
native extension). However in the case of Sublime Text, this sublime_api module
is completely wrapped in pure python classes/functions. So we don't notice that
it doesn't have a .pyi interface file.
@rwols rwols force-pushed the blender-and-gdb-dev-environments branch from 3491764 to 08261bc Compare August 23, 2024 09:52
@rwols rwols requested a review from jfcherng August 23, 2024 09:52
@jfcherng jfcherng merged commit 8789f85 into master Aug 23, 2024
2 checks passed
@jfcherng jfcherng changed the title Add "blender" and "gdb" dev_environments feat: add "blender" and "gdb" dev_environments Aug 23, 2024
@jfcherng
Copy link
Collaborator

Thanks!

@jfcherng jfcherng deleted the blender-and-gdb-dev-environments branch August 23, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "Blender" dev environment Add "gdb" dev environment (Linux only?)
2 participants