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

Autocomplete and indirect include paths in G3D starter #2992

Open
ParsleighScumble opened this issue Dec 23, 2024 · 3 comments
Open

Autocomplete and indirect include paths in G3D starter #2992

ParsleighScumble opened this issue Dec 23, 2024 · 3 comments
Labels
bug current_ issues being worked on done done but not deployed Priority 2 above normal

Comments

@ParsleighScumble
Copy link

I'm working on a VS project derived from the G3D starter project template. Many symbols don't get autocompleted in 10x, but do get autocompleted in VS. I think it may be because some headers in the project files weren't parsed. The vcxproj has these lines:

  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
    <Import Project="$(g3d)\G3D10\VisualStudio\props\developer-build-paths.props" />
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
    <Import Project="$(g3d)\G3D10\VisualStudio\props\developer-build-paths.props" />
  </ImportGroup>

Then the referenced file is this:

<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <ImportGroup Label="PropertySheets">
    </ImportGroup>
    <PropertyGroup Label="UserMacros" />
	<PropertyGroup><IncludePath>$(g3d)\G3D10\external\ffmpeg\win64\include;$(g3d)\G3D10\external\glslang;$(g3d)\G3D10\external\vulkan\include;$(g3d)\G3D10\external\assimp.lib\include;$(g3d)\G3D10\external\civetweb.lib\include;$(g3d)\G3D10\external\enet.lib\include;$(g3d)\G3D10\external\wave.lib\include;$(g3d)\G3D10\external\freeimage.lib\include;$(g3d)\G3D10\external\glew.lib\include;$(g3d)\G3D10\external\glfw.lib\include;$(g3d)\G3D10\external\nfd.lib\include;$(g3d)\G3D10\external\qrencode.lib\include;$(g3d)\G3D10\external\zip.lib\include;$(g3d)\G3D10\external\zlib.lib\include;$(g3d)\G3D10\external\openvr\include;$(g3d)\G3D10\external\physx\include;$(g3d)\G3D10\G3D-base.lib\include;$(g3d)\G3D10\G3D-gfx.lib\include;$(g3d)\G3D10\G3D-app.lib\include;$(g3d)\G3D10\GLG3DVR.lib\include;$(g3d)\G3D10\external\tbb\include;$(g3d)\G3D10\external\python\include;$(IncludePath)</IncludePath>
    <LibraryPath>$(g3d)\G3D10\build\lib;$(LibraryPath)</LibraryPath>
    </PropertyGroup>
    </Project>

This is adding a lot of paths to the project. Is there something I should do to get my autocomplete working? Or should the parser be able to find those files already given that other IDEs can find those files no problemo? I am pretty new to 10x.

@slynch8
Copy link
Owner

slynch8 commented Dec 23, 2024

The parser should be able to pick up the include paths from the project, but I don't think it parses the LibraryPath property yet, I'll get that added.

For now you can add paths manually in the workspace settings:

image

@slynch8 slynch8 added bug Priority 2 above normal current_ issues being worked on labels Dec 23, 2024
@ParsleighScumble
Copy link
Author

Sounds good, I'll do that. Thank you.

@slynch8
Copy link
Owner

slynch8 commented Jan 8, 2025

How is $(g3d) setup? Is it a global environment variable?

@slynch8 slynch8 added the done done but not deployed label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug current_ issues being worked on done done but not deployed Priority 2 above normal
Projects
None yet
Development

No branches or pull requests

2 participants