Skip to content

Instantly share code, notes, and snippets.

@avin
Last active December 30, 2022 13:08
Show Gist options
  • Save avin/ab8df8904253a15742d9124dc08c79f4 to your computer and use it in GitHub Desktop.
Save avin/ab8df8904253a15742d9124dc08c79f4 to your computer and use it in GitHub Desktop.
WebStrom/PhpStorm setup
clang-format
----
Name: clang-format
Program: C:\Program Files\LLVM\bin\clang-format.exe
Arguments: -i $FileName$
Working dir: $FileDir$
Advanced options: - Open console for tool output
prettier(wsl)
---
Name: prettier-wsl
Program: \\wsl$\Ubuntu-20.04\home\avin\dev\laravel-bboard\node_modules\.bin\prettier
Arguments: --write $FileName$
Working dir: $FileDir$
Advanced options: - Open console for tool output
ic (js)
----
import cn from 'clsx';
View -> Appearance ->
- Navigation bar
###########
# Settings
###########
-- Appearance
+ Theme: IntelliJ Light
+ Use custom font: Verdana / 12
+ Use contast scrollbars
- Smooth scrolling
Settings -- System settings
- Back up files before saving
Keymap
Select file in Project view: Ctrl + O
Reformat with prettier: Alt + Shift + F
clang-format: Ctrl + Shift + Alt + F
Editor -- General
- Enable smooth scrolling
- Copy as rich text
Editor -- General -- Appearance
- Show line numbers
+ Show method separators
Editor -- General -- Breadcrumbs
- Show breadcrumbs
Editor -- General -- Code folding
- File header
- Imports
Editor -- Font
Font: JetBrains Mono / 17 / .85
Editor -- Color scheme
Scheme: IntelliJ Light
Editor -- Code style
Line separator: Unix \n
Editor -- Code style -- JavaScript -- Punctuation
Use: single
Editor -- Code style -- TypeScript -- Punctuation
Use: single
Editor -- Code style -- HTML
Other -- Generated quote marks: Double
Editor -- Code style -- Other file types
Tab size: 2
Ident: 2
Editor -- Inspection -- Eslint (profile: Default)
- Use rule severity from the configuration file
Editor -- File encoding
Project encoding: UTF-8
Editor -- Inlay hints
- Show hints for
Editor -- Duplicates
~ All off
Editor -- Natural languages
+ Русский
Editor -- File and code templates
~ Add templaes from https://gist.github.com/avin/6283a90c888346abeacd7b4280054a85
Editor -- File types
Add GLSL https://gist.github.com/avin/019b5befc7158692394c1c10d8a71f01
Plugins:
Install new
+ Git Auto Prefix
+ ProjectTree Color Highlighter
+ Colored Icons
Off useless
- Vargant
- Live edit
- Ide settings sync
- Settings repository
- Angular
- CoffeeScript
- Cordova
- Cucumber
- Karma
- Meteor
- TSLint
- Vue
- Gherkin
- Stylus
- Tailwind
- Change Reminder
- Github
- Mercurial
- Subversion
- Code With Me
- Copyright
- Diagrams
- File watchers
- IDE Features Trainer
- Machine learning (both)
- Performance testing
- Time tracking
Version control -- Commit
- Use non-modal commit interface
- Analyze code
- Check TODO
Version control -- Git
- Show push dialog for Commit and Push
Languages & Frameworks -- Schema and DTDs -- Remote JSON Schemas
+ Always download the most recent version of schemas
Languages & Frameworks -- Markdown
Default layout: Editor only
Tools -- Web browsers
All off
Advanced Settings
- When navigating to a file, prefer selecting existing tab in inactive split pane
@avin
Copy link
Author

avin commented Jan 10, 2022

WSL Freeze

  • press Shift-Shift to open "Search everywhere"
  • enter "Experimental features" and select the action
  • in the dialog that appears, turn off wsl.fsd.content.loader
  • restart the IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment