Skip to content

Commit

Permalink
Add workflows for Code (Insiders)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
pan93412 committed Jun 3, 2023
1 parent f6ce7a5 commit fb3258e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
16 changes: 16 additions & 0 deletions specs/code-insiders/compare_two_files_in_vs_code_insiders.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
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.
default_value: ~
- name: file2
description: The second file that you want to compare.
default_value: ~
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: []
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: []

0 comments on commit fb3258e

Please sign in to comment.