Closed
Bug 1797137
Opened 3 years ago
Closed 3 years ago
Add recommendation to "Files: exclude" build directories in vscode docs
Categories
(Developer Infrastructure :: Developer Environment Integration, task)
Developer Infrastructure
Developer Environment Integration
x86_64
macOS
Tracking
(firefox108 fixed)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox108 | --- | fixed |
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
Attachments
(1 file)
With the default set up, vscode does not exclude the build directories from the "Files: Exclude" and "Files: Watcher Exclude" preferences which has the following consequences:
- lengthened indexing time
- go to definition will go to headers in the objdir instead of the source tree
- go to file includes results from objdir
- search includes results in the build directories
See bug 1790517 for how we might do this in an automated fashion. In the mean time, since that issue doesn't appear to be making progress, I think we should document how devs can manually add these preferences in our vscode documentation.
Note: after adding the build directories to exclude, go-to-definition still works correctly for me for files only available in the objdir, like generated files.
Comment 1•3 years ago
|
||
Also worth to say this is only for mercurial, as vscode automatically does this for git repositories.
| Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → michael.l.comella
Status: NEW → ASSIGNED
Pushed by mcomella@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d29dbc982c8a
document excluding build directories in VS Code. r=andi DONTBUILD
Comment 4•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox108:
--- → fixed
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•