:find
and gf
know how to find files.Update your login script
Steps #2 and #3 depend on variables set in env.sh
and by the fset
command. Add these lines to your startup script (typically ~/.bashrc
).
source /path-to-fuchsia-dir/scripts/env.sh fset x86-64
Update your vim startup file
Add these lines to ~/.vimrc
:
if $FUCHSIA_DIR != "" source $FUCHSIA_DIR/scripts/vim/fuchsia.vim endif
Install YouCompleteMe (ycm)
Optionally install YouCompleteMe for fancy completion, source navigation and inline errors. See the installation guide.
Google users can install YCM by adding these two lines to .vimrc
:
source /usr/share/vim/google/google.vim Glug youcompleteme-google
For Magenta YouCompleteMe integration: https://fuchsia.googlesource.com/magenta/+/master/docs/editors.md
In the future it would be nice to support: