Sublime Forum

Goto Definition outside of project

#1

Hi,

I’m using Vulkan in a c++ project, and am trying to get Goto Definition working. When I right-click on <vulkan/vulkan.hpp> it doesn’t give me an option to check out the header, same thing when I right-click on a vulkan member variable, for instance vk::Instance m_instance. Is there any way to set this up?

Thank you

0 Likes

#2

Sublime Text only indexes the files open in the side-bar. Note that goto-definition doesn’t work for #includes and variables (including member variables). If you want more detailed/accurate goto-definition you’ll need something like an LSP server.

0 Likes

#3

OK, thank you! I’ll have a look online :slight_smile:

0 Likes