Skip to content

feat: prefill function/arrow/def snippets on typing (issue #618) - #3095

Merged
abose merged 4 commits into
mainfrom
feat/618-prefill-function-snippets
Aug 15, 2026
Merged

feat: prefill function/arrow/def snippets on typing (issue #618)#3095
abose merged 4 commits into
mainfrom
feat/618-prefill-function-snippets

fix(codehints): stop unselected snippet badge from wrapping to a blan…

4952472
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 15, 2026 in 1m 44s

Annotations

Check warning on line 51 in src/extensionsIntegrated/CustomSnippets/snippetCursorManager.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaAGbEAdH6sOtJrGupcX&open=AaAGbEAdH6sOtJrGupcX&pullRequest=3095

Check warning on line 65 in src/extensionsIntegrated/CustomSnippets/snippetCursorManager.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaAGbEAdH6sOtJrGupcY&open=AaAGbEAdH6sOtJrGupcY&pullRequest=3095

Check warning on line 1404 in src/editor/Editor.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function 'getMarkOptionTabstopOutline' to the outer scope.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaAGkC7GyDvelYErxKmf&open=AaAGkC7GyDvelYErxKmf&pullRequest=3095

Check warning on line 1419 in src/editor/Editor.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function 'getMarkOptionTabstopOutlineActive' to the outer scope.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaAGkC7GyDvelYErxKmg&open=AaAGkC7GyDvelYErxKmg&pullRequest=3095

Check warning on line 91 in src/extensionsIntegrated/CustomSnippets/snippetCursorManager.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`String.raw` should be used to avoid escaping `\`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaAGWAsmTV2yRQvmykFU&open=AaAGWAsmTV2yRQvmykFU&pullRequest=3095

Check warning on line 89 in src/extensionsIntegrated/CustomSnippets/snippetCursorManager.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaAGWAsmTV2yRQvmykFT&open=AaAGWAsmTV2yRQvmykFT&pullRequest=3095

Check warning on line 86 in src/extensionsIntegrated/CustomSnippets/snippetCursorManager.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function 'escapeBareDollarSigns' to the outer scope.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaAGWAsmTV2yRQvmykFS&open=AaAGWAsmTV2yRQvmykFS&pullRequest=3095

Check warning on line 431 in src/extensionsIntegrated/CustomSnippets/helper.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaAGWAx0TV2yRQvmykFV&open=AaAGWAx0TV2yRQvmykFV&pullRequest=3095