gecko-dev/docs
Emilio Cobos Álvarez f032c0c3c9 Bug 1646256 - Make rust-analyzer and YouCompleteMe work with mozilla-central. r=sylvestre
The default configuration recommended here[1], while being a good
generic default, it doesn't quite work for mozilla-central as that peeks
the closest ancestor directory with a `Cargo.toml`.

For example, when editing under `servo/components/style`, it'd try to
use that directory as a project root and fail like:

```
    0: Failed to run `cargo metadata --manifest-path /home/emilio/src/moz/gecko/servo/components/style/Cargo.toml`
    1: Error during execution of `cargo metadata`:     Updating crates.io index
       error: failed to get `servo_atoms` as a dependency of package `style v0.0.1 (/home/emilio/src/moz/gecko/servo/components/style)`
       Caused by:
         failed to load source for dependency `servo_atoms`
```

Instead, we want to override it using the `'project_directory'` setting
so that we hit this path[2] and it works out of the box.

[1]: https://rust-analyzer.github.io/manual.html#youcompleteme
[2]: 63db7ea379/ycmd/completers/language_server/language_server_completer.py (L1914-L1916)

Differential Revision: https://phabricator.services.mozilla.com/D79938
2020-06-17 17:53:56 +00:00
..
_static Bug 1636499 - ride along - add support of strikethrough r=marco 2020-05-08 16:57:28 +00:00
bug-mgmt Bug 1643525 Update rules for Severity r=sylvestre 2020-06-07 07:38:19 +00:00
code-quality Bug 1642825 - mozlint: Add a linter to prevent further use of black/whitelist r=Gijs,linter-reviewers,mossop,ahal 2020-06-16 17:02:59 +00:00
contributing Bug 1646256 - Make rust-analyzer and YouCompleteMe work with mozilla-central. r=sylvestre 2020-06-17 17:53:56 +00:00
setup Bug 1642898 - Remove most of the references of black/whitelist within the doc r=Gijs 2020-06-03 09:34:12 +00:00
conf.py Bug 1644123 - mach doc: Provides the full path to logo and favicon + update of the build sparse config r=firefox-source-docs-reviewers,ahal 2020-06-08 19:06:44 +00:00
config.yml Bug 1644047 - Add some documentation about SDKs and using macOS APIs. r=spohl 2020-06-08 21:41:04 +00:00
index.rst Bug 1179358 - Moving contribution and related info from MDN to m-c r=sylvestre 2020-05-25 08:53:37 +00:00
jsdoc.json