VSCode = Visual Studio Code 에서 사용할 수 있는 확장(Extension) 입니다.


공식적으로 지원되는 대부분의 언어에 대해 Javadoc 스타일의 여러 줄 주석과 한 줄 주석 블록에 대한 블록 주석 완성 기능을 제공합니다.


링크 : https://marketplace.visualstudio.com/items?itemName=kevinkyang.auto-comment-blocks





/** 입력 으로 블록 주석을 시작시 Enter 키를 누르면 확장 블록을 닫습니다. 주석 블록 안에있는 동안, 확장은 모든 새로운 줄의 시작 부분에 별표를 삽입하고 들여 쓰기를 고려하여 주석을 정렬합니다.


댓글 스타일언어 지원
/** */C, C ++, C #, CSS, Go, Groovy, Java, Less, Objective C / C ++, PHP, Sass, Rust, Swift
/*! */C, C ++
/////C, C ++, C #, F #, Go, Groovy, Java, JavaScript, Less, Objective C / C ++, PHP, Rust, Sass, Swift, TypeScript
#CoffeeScript, Dockerfile, Makefile, Perl, PowerShell, Python, R, Ruby, YAML
;Clojure


VSCode = Visual Studio Code 에서 사용할 수 있는 확장(Extension) 입니다.


GitHub 을 위한 Pull Request Provider


링크 : https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github




VSCode 에서 직접 GitHub pull requests 를 검토하고 관리

이 확장 프로그램을 사용하면 Visual Studio Code 에서 GitHub pull requests 를 검토하고 관리 할 수 ​​있습니다. 지원 내용은 다음과 같습니다.

  • GitHub 에 VScode 인증 및 연결.
  • VSCode 내에서 PR 을 나열하고 탐색합니다.
  • 코멘트로 VSCode 내에서 PR을 검토합니다.
  • 쉬운 체크 아웃으로 VSCode 내에서 PR 검증.
  • UI 와 CLI 를 함께 사용할 수있는 터미널 통합


VSCode = Visual Studio Code 에서 사용할 수 있는 확장(Extension) 입니다.


Node.js debugging 지원 확장입니다.


링크 : https://marketplace.visualstudio.com/items?itemName=ms-vscode.node-debug2






This extension is bundled with Visual Studio Code and together with Node Debug (legacy) forms the Node.js debugging experience.

Node Debug is the debugger for Node.js versions >= 8.0.

See a general overview of debugging in VS Code here.

Documentation for Node.js specific debugging can be found here.


'언어 > Script' 카테고리의 다른 글

npm Intellisense - npm 자동 완성  (1) 2018.11.15
npm - VSCode 에서 npm 지원  (0) 2018.11.15
JavaScript (ES6) code snippets - ES6용 코드 스니펫  (0) 2018.10.08

VSCode = Visual Studio Code 에서 사용할 수 있는 확장(Extension) 입니다.


원격 파일(Azure, Dropbox, S3, SFTP, FTP or Slack 와 같은)을 로컬 파일 같이 처리하기 위한 멀티 프로토콜을 지원합니다.


링크 : https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-remote-workspace




새로운 Visual Studio Code FileSystem API 의 다중 프로토콜 지원. 특히 로컬 파일 같은 원격 파일 처리에 적합합니다.



GUI에서 .code-workspace를 사용하여 파일을 작성 (또는 갱신) 하고여십시오 File >> Open Workspace....

{
    "folders": [{
        "uri": "sftp://my-user:my-password@example.com?debug=1",
        "name": "My SFTP folder"
    }]
}

.code-workspace 파일을 만든 적이 없다면 홈 디렉토리의 새 폴더 (예 : "VSCodeworkspace")로 시작할 수 있습니다. 제공된 json 파일을 새 파일로 복사하십시오. 그런 다음 VSCode GUI 를 사용하여 해당 파일을 엽니다 File >> Open Workspace....

매개 변수는 key-value-pair 로 URI 의 설정이어야 하며 .code-workspace 파일의 settings 섹션에는 설정되지 않아야 합니다.

SFTP 연결의 debug 를 1설정하려면 다음과 같이하십시오 .

{
    "folders": [{
        "uri": "sftp://myUser:myPass@example.com?debug=1",
        "name": "My SFTP folder"
    }]
}

F1을 누르고 다음 명령 중 하나를 입력하십시오 :

NameDescriptionID
Remote Workspace: Execute 'git' Command ...git원격 작업 공간에서 CLI 도구를실행합니다 .extension.remote.workspace.executeGit
Remote Workspace: Execute Remote Command ...원격 작업 공간에서 명령을 실행합니다.extension.remote.workspace.executeRemoteCommmand
Remote Workspace: Open URI ...지원되는 URI가있는 새 작업 영역 폴더를 추가 / 열기합니다 .extension.remote.workspace.openURI
Remote Workspace: Receive Remote URI ...다른 편집기에서 원격 URI를받습니다.extension.remote.workspace.receiveWorkspaceURI
Remote Workspace: Reset Remote Command History ...마지막으로 실행 된 원격 명령의 모든 값을 재설정합니다.extension.remote.workspace.resetRemoteCommandHistory
Remote Workspace: Share Remote URI ...원격 URI를 다른 편집기와 공유합니다.extension.remote.workspace.sendWorkspaceURI

로그 파일은 .vscode-remote-workspace/.logs 사용자 홈 디렉토리의 하위 폴더에 하루 단위로 저장됩니다.


VSCode = Visual Studio Code 에서 사용할 수 있는 확장(Extension) 입니다.


prettier/prettier 를 사용한 코드 포맷터 ( JavaScript / TypeScript / Css / HTML 등 지원 )


링크 : https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode





Respects editor.formatOnSave setting.

설정 범위를 지정하여 언어별 저장시 포맷을 사용하도록 설정할 수 있습니다.

// Set the default
"editor.formatOnSave": false,
// Enable per-language
"[javascript]": {
    "editor.formatOnSave": true
}


Settings will be read from (우선순위로 나열):

  1. Prettier configuration file
  2. .editorconfig

Or if no prettier configuration file exist

  1. .editorconfig
  2. VSCode prettier's settings (기본값은 아래 설명되어 있음)

Fit code within this line limit

Number of spaces it should use per tab

If true, will use single instead of double quotes

Controls the printing of trailing commas wherever possible. Valid options:

  • "none" - No trailing commas
  • "es5" - Trailing commas where valid in ES5 (objects, arrays, etc)
  • "all" - Trailing commas wherever possible (function arguments)

Controls the printing of spaces inside object literals

If true, puts the > of a multi-line jsx element at the end of the last line instead of being alone on the next line

Which parser to use. Valid options are 'flow' and 'babylon'.

Whether to add a semicolon at the end of every line (semi: true), or only at the beginning of lines that may introduce ASI failures (semi: false)

If true, indent lines with tabs

(Markdown) wrap prose over multiple lines.

Include parentheses around a sole arrow function parameter

Use single quotes instead of double quotes in JSX.

Specify the global whitespace sensitivity for HTML files. Learn more here

Specify the end of line used by prettier. Learn more here

These settings are specific to VSCode and need to be set in the VSCode settings file. See the documentation for how to do that.

Use prettier-eslint instead of prettier. Other settings will only be fallbacks in case they could not be inferred from ESLint rules.

Use prettier-tslint instead of prettier. Other settings will only be fallbacks in case they could not be inferred from TSLint rules.

Use prettier-stylelint instead of prettier. Other settings will only be fallbacks in case they could not be inferred from stylelint rules.

Require a 'prettierconfig' to format

Supply the path to an ignore file such as .gitignore or .prettierignore. Files which match will not be formatted. Set to null to not read ignore files. Restart required.

A list of languages IDs to disable this extension on. Restart required. Note: Disabling a language enabled in a parent folder will prevent formatting instead of letting any other formatter to run

This extension will use prettier from your project's local dependencies. Should prettier not be installed locally with your project's dependencies, a copy will be bundled with the extension.

+ Recent posts