debian-mirror-gitlab/doc/development/projections.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
1.4 KiB
Markdown
Raw Normal View History

2021-01-29 00:20:46 +05:30
---
stage: none
group: unassigned
2022-11-25 23:54:43 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
2021-01-29 00:20:46 +05:30
---
2019-12-21 20:55:43 +05:30
# Projections
Projections are a way to define relations between files. Every file can have a
"related" or "alternate" file. It's common to consider spec files to be
"alternate" files to source files.
## How to use it
- Install an editor plugin that consumes projections
- Copy `.projections.json.example` to `.projections.json`
## How to customize it
You can find a basic list of projection options in
[projectionist.txt](https://github.com/tpope/vim-projectionist/blob/master/doc/projectionist.txt)
2023-03-04 22:38:38 +05:30
## Which plugins can you use
2019-12-21 20:55:43 +05:30
- vim
- [vim-projectionist](https://github.com/tpope/vim-projectionist)
2023-03-04 22:38:38 +05:30
- VS Code
2019-12-21 20:55:43 +05:30
- [Alternate File](https://marketplace.visualstudio.com/items?itemName=will-wow.vscode-alternate-file)
- [projectionist](https://github.com/jarsen/projectionist)
2021-03-11 19:13:27 +05:30
- [`jumpto`](https://github.com/gmdayley/jumpto)
2019-12-21 20:55:43 +05:30
- Atom
- [projectionist-atom](https://atom.io/packages/projectionist-atom)
- Command-line
- [projectionist](https://github.com/glittershark/projectionist)
## History
2021-03-11 19:13:27 +05:30
<!-- vale gitlab.Spelling = NO -->
2021-10-27 15:23:28 +05:30
2019-12-21 20:55:43 +05:30
This started as a
[plugin for vim by tpope](https://github.com/tpope/vim-projectionist)
It has since become editor-agnostic and ported to most modern editors.
2021-10-27 15:23:28 +05:30
2021-03-11 19:13:27 +05:30
<!-- vale gitlab.Spelling = YES -->