Copy Without Comments (Custom Comment Symbols) README(中文說明在本文後面) This is the README for the Visual Studio Code extension "Copy Without Comments (Custom Comment Symbols)". This extension allows you to copy code from the editor without including any comments. It handles both single-line and multi-line comments. The current version allows you to customize both single line comment symbols and multi-line comment symbols, enabling you to match the symbols with the programming language you are using. FeaturesTo use this extension:
There are two ways to use it
The code, minus any comments, will be copied to the clipboard. It's important to note that this extension only works when there is text selected in the editor. If no text is selected, the extension will not perform any action. RequirementsThis extension does not have any specific requirements or dependencies. Extension SettingsThis extension allows you to customize comment symbols for excluding comments when copying code. You can adjust the following settings according to your preferences:
Commands and KeybindingsThis extension provides the following commands, which you can access via the command panel (Ctrl+Shift+P):
You can access these settings and commands by searching for "Copy Without Comments (custom comment symbols)" in the Visual Studio Code settings or by using the provided keybinding. Release Notes1.0.0 中文說明這是 Visual Studio Code 的 "Copy Without Comments (Custom Comment Symbols)" 擴充套件的 README 文件,允許您在不包含任何註釋的情況下從編輯器中複製程式碼。目前的版本允許您自定義單行註釋符號和多行註釋符號,以便您可以修改符號以符合您正在使用的編程語言。 功能要使用此擴充功能:
使用方式有兩種:
請務必注意,此擴充功能僅在編輯器中選擇文字時才有效。 如果未選擇任何文本,則擴充功能將不會執行任何操作。 需求此擴充套件沒有任何特定的需求或依賴。 擴充套件設定此擴充套件允許您自定義註釋符號,以便在複製程式碼時排除註釋。您可以根據個人偏好調整以下設定:
命令此擴充功能提供以下命令,您可以透過命令面板 (Ctrl+Shift+P) 存取這些命令:
您可以在 Visual Studio Code 的設定中搜索「Copy Without Comments (custom comment symbols)」來訪問這些設定和命令,或者使用提供的快速鍵綁定。 版本資訊1.0.0 |