• Etc.

    슬기로운 Visual Studio Code 생활 3편 - Bookmarks

    twitter facebook


    안녕하세요? 드래곤입니다.

    이번 강좌에서는 Visual Studio Code의 유용한 기능인 Bookmarks Extention 대해서 소개 하려고 합니다.

    개발 툴을 사용하면서 가장 유용하게 사용하는 기능 중에 하나가 Bookmark가 아닐까 생각합니다.

    여러 소스 코드를 수정 할때 Bookmark를 사용해서 정리한다면 좀 더 효율적으로 코드 분석 및 수정이 가능합니다.

    다음 사이트에 방문하시면 Bookmarks Extention에 대해 자세한 설명이 나옵니다.


    https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks


    Visual Studio Code를 실행합니다.

    왼쪽 바에 Extentions 아이콘을 선택한 후 다음과 같이 검색 창에 "Bookmarks"를 검색합니다.


    Install 버튼을 클릭하여 설치를 진행합니다.

    정상적으로 설치가 되면 왼쪽 바에 Bookmarks Extention 아이콘이 추가가 됩니다.


    Bookmarks Extention 사용을 해보겠습니다.

    Bookmarks 아이콘을 선택하면 Bookmarks:Explorer 화면이 나타납니다.

    Bookmark를 추가 할 파일의 해당 라인에서 마우스 오른쪽을 눌러 Bookmarks:Toggle를 선택합니다.

    해당 라인 앞부분에 다음과 같이 Bookmark가 표시됩니다.


    추가로 사용하고자 하는 위치에서 Bookmarks:Toggle를 반복적으로 사용한면 다음과 같이

    Bookmarks:Explorer 에서 추가된 내용을 확인 할 수 있습니다.


    Bookmarks:Explorer 에서 Bookmark 된 항목에서 마우스 오른쪽을 클릭하면 다음과 같이 간편하게

    레이블 및 삭제가 가능합니다.


    View> Command Palette.. or 단축키 Ctrl+Shift+P 를 사용하여 Bookmarks다음과 같은 기능들을

    사용할 수 있습니다.

    Bookmarks: Toggle Mark/unmark positions with bookmarks

    Bookmarks: Toggle Labeled Mark labeled bookmarks

    Bookmarks: Jump to Next Move the cursor forward, to the bookmark below

    Bookmarks: Jump to Previous Move the cursor backward, to the bookmark above

    Bookmarks: List List all bookmarks in the current file

    Bookmarks: List from All Files List all bookmarks from all files

    Bookmarks: Clear remove all bookmarks in the current file

    Bookmarks: Clear from All Files remove all bookmarks from all files

    Bookmarks (Selection): Select Lines Select all lines that contains bookmarks

    Bookmarks (Selection): Expand Selection to Next Expand the selected text to the next bookmark

    Bookmarks (Selection): Expand Selection to Previous Expand the selected text to the previous bookmark

    Bookmarks (Selection): Shrink Selection Shrink the select text to the Previous/Next bookmark

    Bookmarks를 적절히 사용한다면 편리하게 개발을 할 수 있습니다.

    여기까지 슬기로운 Visual Studio Code 생활 3편 - Bookmarks를 마치겠습니다.

    한번 사용해 보시고 즐거운 개발 하시길 바랍니다.


    강좌가 도움이 되셨다면 다음 Youtube Channel에 방문하셔서 구독 부탁드립니다.

    https://www.youtube.com/c/WeAreDev