내 '문제'는 간단하지만, 알아낼 수 없었습니다. PHPStorm이 "$ this->"를 자동 완성 옵션으로 제공 할 수있는 방법이 있습니까? $ th "대신"$ this "(화살표가없는)를 제공합니까? 이것에 대한 다른 해결책이 있습니까?PHPStorm autocompletion for this this
0
A
답변
4
'$ this'를 함수 매개 변수, 반환 변수 또는 필요한 상황에 입력하는 경우 사전에 알지 못하므로 자동 완성 기능을 사용할 수 없습니다. 자동 완성 기능은 현재 범위에서 사용할 수있는 변수를 반복합니다. 'this'는 클래스 함수를 닫을 때 항상 사용됩니다.
LazyOne 상태로, 대신 사용자 정의 템플릿을 사용, 참조 :
http://www.jetbrains.com/phpstorm/webhelp/creating-and-editing-template-variables.html
+0
, 여러분 모두에게 감사드립니다 =) – GTCrais
관련 문제
- 1. * this for 생성자 위임
- 2. AST for this Mini-language
- 3. : whats-the-best-approach-should-this-for-this-php 문제
- 4. JavaScript this this from jQuery this
- 5. phpstorm : autocompletion, __construct 및 @property 선언
- 6. $ (this + "selector")? $ ("img", this) 가능합니까?
- 7. if : check this to this
- 8. $ (this) vs this of jQuery
- 9. jQuery - Inputmask plugin for this '###. ##. abc, 22'
- 10. 디 컴파일 된 자바에서 this = this
- 11. jquery - get this attr of (this)
- 12. $ this_array = array ("this", "and", "this", "and", "th")
- 13. this for for 루프가 실행되지 않는 이유는 무엇입니까?
- 14. GCMRegistrar.onDestroy (this);
- 15. this->
- 16. : this() 생성자로
- 17. bind (this)
- 18. AJAX 함수 (this)
- 19. Segfault 사용시 * this
- 20. jQuery this form input
- 21. Nullpointer 예외 setOnTouchListener (this)
- 22. Deobfuscate This JS 공격
- 23. jquery "this"problem
- 24. $ this -> {$ spec}과 $ this -> $ spec의 차이점은 무엇입니까?
- 25. jquery "this"는 "this"객체에 대한 액세스를 금지합니다.
- 26. $ this-> requestElement()와 $ this-> element() 사이의 차이점은 무엇입니까?
- 27. SolR : More Like this on this number fields
- 28. `$ this-> name`과`$ this-> $ name`의 차이점은 무엇입니까?
- 29. "this"메서드 내에서 "this"객체의 자체 이벤트 핸들러에 등록
- 30. jQuery this 및 Selector $ (this : first-child) .css ('color', 'red');
정말 문제가 여분이 개 문자를 입력 있습니까? – cHao
아니요, 자동으로 추가 할 수 있다면 편리 할 것입니다. – GTCrais
'$ this->'에 의해't [TAB]'을 대체 할 ** 라이브 템플릿 **을 만들 것을 제안합니다 - 더 빠른 (IMO) – LazyOne