Skip to content

Commit

Permalink
Clarified wording on Save Actions. (#7358)
Browse files Browse the repository at this point in the history
  • Loading branch information
airbyte-jenny authored Oct 26, 2021
1 parent c2adf9b commit 22f8c39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/contributing-to-airbyte/code-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ Install it in IntelliJ:
4. Change default `Hard wrap at` in `Wrapping and Braces` tab to **150**.
5. We prefer `import foo.bar.ClassName` over `import foo.bar.*`. Even in cases where we import multiple classes from the same package. This can be set by going to `Preferences > Code Style > Java > Imports` and changing `Class count to use import with '*'` to 9999 and \`Names count to use static import with '\*' to 9999.
6. We add the `final` keyword wherever possible. It's a drag to have to do it manually, however, so we set up the IDE to do it for us. You can either set this as the default for your IDE or you can set it just for the Airbyte project(s) that you are using.
1. Turn on the inspection. Go into project settings...
1. Turn on the inspection. Go into IntelliJ Preferences...
1. Editor > Inspections > Search (with the quotation marks included) "Field may be 'final'" > check the box
2. Editor > Inspections > Search "local variable or parameter may be final" > check the box
3. Apply the changes.
2. Turn on the auto add final. Go into project settings...
2. Turn on the auto add final. Go into IntelliJ Preferences...
1. Plugins - install Save Actions if not already installed.
2. Go to Save Actions (NOT Tools > Actions on Save -- that is a different tool)
2. Go to Save Actions in the preferences left nav (NOT Tools > Actions on Save -- that is a different tool)
1. Activate save actions on save > check the box
2. Active save actions on shortcut > check the box
3. Activate save actions on batch > check the box
Expand Down

0 comments on commit 22f8c39

Please sign in to comment.