Skip to content

Commit

Permalink
Add workflows for Code (Insiders) (#164)
Browse files Browse the repository at this point in the history
* 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
pan93412 and elvis kahoro authored Sep 6, 2023
1 parent 3ef2e22 commit 22667d0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
14 changes: 14 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,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: []
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 22667d0

Please sign in to comment.