Skip to content

Commit 14ced48

Browse files
authored
Merge pull request #26 from dev4joel/main
Add code specs
2 parents 6e976d5 + 42303a6 commit 14ced48

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Compare two files in VS Code
3+
command: "code -d {{file1}} {{file2}}"
4+
tags: ["code"]
5+
description: Compare two files using code.
6+
arguments:
7+
- name: file1
8+
description: The first file that you want to compare.
9+
default_value: ~
10+
- name: file2
11+
description: The second file that you want to compare.
12+
default_value: ~
13+
source_url: "https://stackoverflow.com/questions/30139597/visual-studio-code-is-there-a-compare-feature-like-that-plugin-for-notepad"
14+
author: wisbucky
15+
author_url: "https://stackoverflow.com/users/1081043/wisbucky"
16+
shells: []
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Open a file or directory in the currently open VS Code window
3+
command: "code -r {{file_or_directory}}"
4+
tags: ["code"]
5+
description: Use -r or --reuse-window command line option to attach the currently open VS Code window.
6+
arguments:
7+
- name: file_or_directory
8+
description: The file or directory that you want to open.
9+
default_value: ~
10+
source_url: "https://stackoverflow.com/questions/41377489/how-to-open-a-file-from-the-integrated-terminal-in-visual-studio-code"
11+
author: zloy-zhake
12+
author_url: "https://stackoverflow.com/users/2807320/zloy-zhake"
13+
shells: []

0 commit comments

Comments
 (0)