[PhpStorm팁] [단축키] Php스톰 멀티 셀렉트 | PhpStorm Multy Select 및 키보드 단축키 지정하기 2
2015.10.29 00:53
1069
0
https://eond.com/364180
object(HotopayModel)#980 (23) { ["error"]=> int(0) ["message"]=> string(7) "success" ["variables"]=> array(0) { } ["httpStatusCode"]=> int(200) ["module"]=> string(7) "hotopay" ["module_info"]=> NULL ["origin_module_info"]=> NULL ["module_config"]=> NULL ["module_path"]=> string(52) "/home/eond/web/eond.com/public_html/modules/hotopay/" ["xml_info"]=> NULL ["module_srl"]=> NULL ["mid"]=> NULL ["act"]=> NULL ["template_path"]=> NULL ["template_file"]=> NULL ["layout_path"]=> NULL ["layout_file"]=> NULL ["edited_layout_file"]=> NULL ["stop_proc"]=> bool(false) ["user"]=> object(Rhymix\Framework\Helpers\SessionHelper)#981 (20) { ["member_srl"]=> int(0) ["user_id"]=> NULL ["user_name"]=> NULL ["nick_name"]=> NULL ["email_address"]=> NULL ["phone_number"]=> NULL ["homepage"]=> NULL ["blog"]=> NULL ["birthday"]=> NULL ["denied"]=> NULL ["status"]=> NULL ["is_admin"]=> string(1) "N" ["is_site_admin"]=> NULL ["profile_image"]=> NULL ["image_name"]=> NULL ["image_mark"]=> NULL ["signature"]=> NULL ["description"]=> NULL ["group_list"]=> array(0) { } ["menu_list"]=> array(0) { } } ["request"]=> object(Rhymix\Framework\Request)#10 (13) { ["method"]=> string(3) "GET" ["compat_method"]=> string(3) "GET" ["url"]=> string(27) "phpstorm/364180/page/465007" ["hostname"]=> string(8) "eond.com" ["domain"]=> NULL ["protocol"]=> string(5) "https" ["callback_function"]=> string(0) "" ["_route_status":protected]=> int(200) ["_route_options":protected]=> object(stdClass)#11 (5) { ["cache_control"]=> bool(true) ["check_csrf"]=> bool(true) ["is_forwarded"]=> bool(false) ["is_indexable"]=> bool(true) ["enable_session"]=> bool(true) } ["module"]=> string(5) "board" ["mid"]=> string(8) "phpstorm" ["act"]=> string(16) "dispBoardContent" ["args"]=> array(5) { ["category"]=> string(6) "464709" ["document_srl"]=> string(6) "364180" ["page"]=> int(465007) ["mid"]=> string(8) "phpstorm" ["act"]=> string(16) "dispBoardContent" } } ["ajaxRequestMethod"]=> array(2) { [0]=> string(6) "XMLRPC" [1]=> string(4) "JSON" } ["gzhandler_enable"]=> bool(true) }

Multiple Selection | 멀티 셀렉트

With Multiple Selection, we can work with multiple cursors in one file simultaneously. Let’s start with some basics: press and hold Alt and use the mouse to select the locations where a cursor is desired.

Alt + Click

출처 : http://blog.jetbrains.com/phpstorm/2014/03/working-with-multiple-selection-in-phpstorm-8-eap/

Add or Remove Caret

add or Remove Caret 이라고 검색해보시면 단축키를 추가 변경 가능합니다.

서브라임에서는.. alt+shfit+방향키
에디트플러스는 alt+C (자동줄바꿈모드에서는 동작안함)
그럼 이 동작들을 PHP스톰에서도 가능하도록 만들어보겠습니다. 

Select Line at Caret

Select Line at Caret 에 단축키를 alt+C로 지정하면 똑같이 사용할 수 있습니다.

기존 alt+C는 Scratch List 라고

Main menu | Tools | Scratch | New Scratch

http://blog.jetbrains.com/phpstorm/2014/09/quick-edits-with-phpstorm-8/

이런 거라는데 처음 보는 건데 뭔지 모르지만 쓸 일은 없으므로; 제거하도록 하겠습니다;;


여러줄 선택하기

Crone Caret Above

alt+Shift+Up

기존 해당 단축키 : Main menu | Code | Move Line Up


Crone Caret Below 

Alt+Shift+Down

기존 해당 단축키 : [Console.TableResult.ColumnSortDesc] which is now now loaded but may be loaded later

그리고 shift를 이용해서 단어 선택해서 키보드로도 멀티셀렉트가 가능합니다.

라이믹스는 이온디와 함께

  • 2015.10.30 17:15
    베스트
    오 감사합니다!
  • @Nayak님에게 보내는 답글
    2020.01.12 15:49
    베스트

    여러줄 선택하기는 기본 단축키에 지정되어있진 않지만 phpstorm에서 설치할 때마다 꼭 사용하는 단축키입니다. ㅎㅎ

PHP스톰
-
+
닫기

마이페이지

로그인을 해주세요

네이버로 로그인