-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflows for Code (Insiders) (#164)
* Add workflows for Code (Insiders) It is basically the variant of `specs/code` – it changes all the `code` to `code-insiders`, while noting “Insiders” in the workflow name. Signed-off-by: pan93412 <[email protected]> * Remove unnecessary default_value --------- Signed-off-by: pan93412 <[email protected]> Co-authored-by: elvis kahoro <[email protected]>
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
specs/code-insiders/compare_two_files_in_vs_code_insiders.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Compare two files in VS Code (Insiders) | ||
command: "code-insiders -d {{file1}} {{file2}}" | ||
tags: ["code-insiders"] | ||
description: Compare two files using code. | ||
arguments: | ||
- name: file1 | ||
description: The first file that you want to compare. | ||
- name: file2 | ||
description: The second file that you want to compare. | ||
source_url: "https://stackoverflow.com/questions/30139597/visual-studio-code-is-there-a-compare-feature-like-that-plugin-for-notepad" | ||
author: wisbucky | ||
author_url: "https://stackoverflow.com/users/1081043/wisbucky" | ||
shells: [] |
13 changes: 13 additions & 0 deletions
13
...code-insiders/open_a_file_or_directory_in_the_currently_open_vs_code_insiders_window.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: Open a file or directory in the currently open VS Code (Insiders) window | ||
command: "code-insiders -r {{file_or_directory}}" | ||
tags: ["code-insiders"] | ||
description: Use -r or --reuse-window command line option to attach the currently open VS Code window. | ||
arguments: | ||
- name: file_or_directory | ||
description: The file or directory that you want to open. | ||
default_value: ~ | ||
source_url: "https://stackoverflow.com/questions/41377489/how-to-open-a-file-from-the-integrated-terminal-in-visual-studio-code" | ||
author: zloy-zhake | ||
author_url: "https://stackoverflow.com/users/2807320/zloy-zhake" | ||
shells: [] |