Skip to content

Commit a04e2e9

Browse files
release: language snippet ux
1 parent d19661c commit a04e2e9

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Table of Contents
66

7-
- [3.4](#340---2026-01-12) - Built-in Extensions
7+
- [3.4](#342---2026-01-26) - Built-in Extensions
88
- [3.3](#330---2026-01-03) - Kiro Support
99
- [3.2](#320---2025-12-31) - Windsurf Support
1010
- [3.1](#310---2025-12-15) - AbacusAI Support
@@ -27,6 +27,12 @@
2727
- [1.1](#111---2025-04-08) - Snippet Insertion Features
2828
- [1.0](#103---2025-03-22) - Initial Release
2929

30+
## [3.4.2] - 2026-01-26
31+
32+
### Fixed
33+
34+
- Creating language specific snippets no longer defaults to plain text if no active language is detected or selected.
35+
3036
## [3.4.1] - 2026-01-13
3137

3238
### Fixed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "snippetstudio",
33
"displayName": "SnippetStudio",
44
"description": "A snippets manager that assists you in creating, editing, viewing, and deleting snippets and snippet files.",
5-
"version": "3.4.1",
5+
"version": "3.4.2",
66
"publisher": "AlexDombroski",
77
"author": {
88
"name": "Alex Dombroski",

src/git/snippetGists.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import { exists } from '../utils/fsInfo';
1212

1313
vi.mock('../utils/user');
1414
vi.mock('./utils');
15-
vi.mock('../utils/fsinfo');
1615
vi.mock('../snippets/newSnippetFile');
1716

1817
const snippets: VSCodeSnippets = {
@@ -26,6 +25,7 @@ describe('snippetGists', () => {
2625
beforeEach(() => {
2726
vi.clearAllMocks();
2827
vi.restoreAllMocks();
28+
vi.mock('../utils/fsinfo');
2929
});
3030

3131
describe('createGist', () => {
@@ -83,7 +83,6 @@ describe('snippetGists', () => {
8383
} as unknown as Octokit);
8484
(getConfiguration as Mock).mockReturnValue({ get: () => false });
8585
(exists as Mock).mockResolvedValue(false);
86-
8786
await _saveCodeSnippets('TEST_GIST_ID', '/test/example');
8887

8988
expect(fs.writeFile).toBeCalled();

0 commit comments

Comments
 (0)