DEPRECATED

This is the checklist of ways to improve WebStorm(PhpStorm, Idea, etc.) experience:

  1. Use Vue.js plugin.

UPDATE: Both plugins have own problems atm

You can install it via Settings(Preferences) => Plugins => Browse repositories => (search for) "vue"

choose one or both: "Vue.js" or "vue-for-idea". It's up to you.

  1. Set "Javascript Language Version" to ES6.

Open Settings(Preferences) => Language & Frameworks => JavaScript. Set Javascript Language Version to ECMAcript6

https://github.com/postalservice14/vuejs-plugin

  1. Improve HTML-tag's attributes highlighting

Open Settings(Preferences) => Editor => Inspection => HTML => select Unknown HTML tag attributes => click Custom HTML tag attributes. Add your attributes. 

For example, my list: 

v-on,v-on:click,v-on:change,v-on:focus,v-on:blur,v-on:keyup,:click,@click,v-model,v-text,v-bind,:disabled,@submit,v-class,:class,v-if,:value,v-for,scoped,@click.prevent,number,:readonly,@input,@click,v-show,v-else,readonly,v-link,:title,:for,tab-index,:name,:id,:checked,transition,@submit.prevent,autocapitalize,autocorrect,slot,v-html,:style

P.S. For the full list of custom tags check @Alex's answer below

P.P.S. Actually it's should work in more common way:

Open Settings(Preferences) => Languages & Frameworks => Javascript => Libraries=> click Add (after this you should set path to the vue.js. You can dowmload it with npm or whatever)

(More info in this answer: https://stackoverflow.com/a/28903910/930170)

But I didn't get success with that.

  1. Enable Node.js Coding Assistance:

Open Settings(Preferences) => Languages & Frameworks => Node.js and NPM

If "Node.js core library is not enabled", click button Enabled


DEPRECATED (may be required if you don't use vue plugins for IDE):

  1. Make *.vue files to be recognized as a html flies.

Open Settings(Preferences) => Editor =>File Types find HTML in Recognized File Types, then add *.vue as a new Registered Patterns.

  1. Improve ES6 highlight.

In each vue file with tag:

(This is would help to recognise constructions like setTimeout(() => {console.log(1) }, 100))

  1. Improve styles highlight. (sass, scss, etc)

In each vue file with tag:

For scss it's gonna be <style lang="scss" type="text/scss">

For stylus please try <style lang="stylus" type="text/stylus">


UPD: The steps below are not so trusted, they may helps, or may not, some of them I didn't check personally, or I didn't catch is any effect exist or not.

  1. Import TextMate Bundle functionality.

https://www.jetbrains.com/help/phpstorm/2016.1/textmate-bundles.html?origin=old_help

  1. Import TypeScript tables for vue.

Open Settings(Preferences) => Language & Frameworks => JavaScript => Libraries. Click Download, Switch to TypeScript community stubs. And download all tabs with vueword.

Example: https://youtu.be/4mKiGkokyx8?t=84 (from 1:24)


UPD2: For more info check the issue at github: https://github.com/vuejs/vue-syntax-highlight/issues/3

 

출처: https://nickjoit.tistory.com/155 [nickjoIT]

Ctrl + Backspace : 행 삭제 (Ctrl + D)

Ctrl + D : 행 복사

Shift + Alt + 위, 아래 : 라인 이동

Ctrl + Alt + L : 코드 포맷

Alt + Enter : (해당 위치에서 임포트)

Ctrl + Shift + V : 클립보드 확인

Ctrl + Q : 종료

Ctrl + F4 : 해당 편집창 종료

Alt + F7 : 사용되는 곳 찾기 (Cmd + Shift + G)

Alt + Cmd + B : 구현체로

Alt + Cmd + O : import 정리

Ctrl + Shift + F : 전체 파일 검색

Ctrl + Shift + R : 전체 파일 변경

Ctrl + R : 파일 변경

Ctrl + F : 파일 검색

Ctrl + G : 다음 찾기

Ctrl + Shift + G : 이전 찾기 

Ctrl + E : 최근 파일

Shift + F6 : Rename

Ctrl + Shift + U : 대소문자 변환

Command + Alt + M : 메소드 추출

Double Shift : 모든것을 검색

Ctrl + Shift + O : 파일명으로 검색

Ctrl + E : 최근 사용 파일 

Intellij settings > Version Control > Git

SSH executable: Native

Apply

 

D:\프로젝트폴더\.git\config

파일을 연다

 

[remote "origin"]
//url = git@github.com:denodo1/front.git (default)

url = https://github.com/denodo1/front.git
fetch = ...

 

해결완료

'IDE > IntelliJ' 카테고리의 다른 글

[Intellij] 단축키  (0) 2019.03.29
[IntelliJ] 초기 설정  (0) 2013.11.01
[Intellij] 이클립스 기능도 된다는 IDE  (0) 2013.10.31

+ Recent posts