-
Notifications
You must be signed in to change notification settings - Fork 29
Document Go to Definition Functionality #35
Copy link
Copy link
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Milestone
Description
We should document the Go to Definition functionality so that a user knows what is provided in which type of workspace. Some context to start with is below.
The extension should already detect if the folder opened is part of a control repository, so you shouldn't need to add
The rules to detect are:
- You must be opening a Folder (aka workspace) in VSCode, not a single file
- You must be opening a Folder either at the root of, or inside of, the control repo. Not outside of it.
- The control repo must contain an
environment.conf - The control repo must NOT contain a
metadata,jsonfile. If you have both, the extension will assume it's inside a module (not a control repo)
Now there are some cases where using that setting is needed. For example, I know that @genebean has a folder containing all of the download modules from Onceover, and he needs to add the Onceover path to get the intellisense.
Some code references:
Originally posted by @glennsarti in puppetlabs/puppet-vscode#636 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation