@@ -100,7 +100,7 @@ Our codebase style is defined and enforced by [RuboCop](https://github.com/ruboc
...
@@ -100,7 +100,7 @@ Our codebase style is defined and enforced by [RuboCop](https://github.com/ruboc
You can check for any offenses locally with `bundle exec rubocop --parallel`.
You can check for any offenses locally with `bundle exec rubocop --parallel`.
On the CI, this is automatically checked by the `static-analysis` jobs.
On the CI, this is automatically checked by the `static-analysis` jobs.
Additionally it is possible to integrate RubCop with several IDEs. [solargraph doc](../developing_with_solargraph.md) page describes how to integrate RubCop in to supported IDEs using[solargraph](https://github.com/castwide/solargraph) gem.
Additionally it is possible to integrate RuboCop with several IDEs, e.g. you can [integrate RuboCop](../developing_with_solargraph.md) in supported IDEs using the[solargraph](https://github.com/castwide/solargraph) gem.
For RuboCop rules that we have not taken a decision on yet, we follow the
For RuboCop rules that we have not taken a decision on yet, we follow the
info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
---
---
# Using solargraph
# Using Solargraph
Gemfile packages [solargraph](https://github.com/castwide/solargraph) language server for additional intellisense and code formatting capabilities with editors that support it.
Gemfile packages [Solargraph](https://github.com/castwide/solargraph) language server for additional IntelliSense and code formatting capabilities with editors that support it.
Example configuration for solargraph can be found in [.solargraph.yml.example](https://gitlab.com/gitlab-org/gitlab/-/blob/master/.solargraph.yml.example) file. Copy the contents of this file to `.solargraph.yml` file for language server to pick this configuration up. Since `.solargraph.yml` configuration file is ignored by Git, it's possible to adjust configuration according to your needs.
Example configuration for solargraph can be found in [.solargraph.yml.example](https://gitlab.com/gitlab-org/gitlab/-/blob/master/.solargraph.yml.example) file. Copy the contents of this file to `.solargraph.yml` file for language server to pick this configuration up. Since `.solargraph.yml` configuration file is ignored by Git, it's possible to adjust configuration according to your needs.