Skip to content

Add pinning support for opened files and improve tab bar performance - #3281

Open
devvaannsh wants to merge 28 commits into
mainfrom
pluto/tbbar
Open

devvaannsh wants to merge 28 commits into
mainfrom
pluto/tbbar

chore: auto update API docs

c5ba2d3
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 18, 2026 in 1m 20s

Annotations

Check warning on line 337 in src/extensionsIntegrated/TabBar/drag-drop.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=AaFPuEFUZ2pN_ZCicti3&open=AaFPuEFUZ2pN_ZCicti3&pullRequest=3281

Check warning on line 565 in src/project/ProjectManager.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=AaFPuEbPZ2pN_ZCictj1&open=AaFPuEbPZ2pN_ZCictj1&pullRequest=3281

Check warning on line 2362 in src/styles/brackets.less

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "!important" and resolve the specificity conflict instead.

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

Check warning on line 309 in src/styles/Extn-TabBar.less

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "!important" and resolve the specificity conflict instead.

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

Check warning on line 361 in src/styles/Extn-TabBar.less

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "!important" and resolve the specificity conflict instead.

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

Check failure on line 639 in src/extensionsIntegrated/TabBar/main.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.dataset` over `getAttribute(…)`.

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

Check warning on line 2236 in src/styles/brackets.less

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "!important" and resolve the specificity conflict instead.

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

Check warning on line 2948 in src/styles/brackets.less

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "!important" and resolve the specificity conflict instead.

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

Check warning on line 3816 in src/styles/brackets.less

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "!important" and resolve the specificity conflict instead.

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

Check warning on line 4282 in src/styles/brackets.less

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "!important" and resolve the specificity conflict instead.

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

Check warning on line 2973 in src/styles/brackets.less

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "!important" and resolve the specificity conflict instead.

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

Check warning on line 2189 in src/document/DocumentCommandHandlers.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=AaFPuEiZZ2pN_ZCictj_&open=AaFPuEiZZ2pN_ZCictj_&pullRequest=3281

Check failure on line 166 in src/extensionsIntegrated/TabBar/overflow.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.dataset` over `getAttribute(…)`.

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

Check failure on line 517 in src/extensionsIntegrated/TabBar/main.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.dataset` over `getAttribute(…)`.

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

Check failure on line 1038 in src/view/Pane.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not assign `this` to `self`.

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

Check failure on line 776 in src/project/WorkingSetView.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.

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

Check warning on line 1187 in src/project/WorkingSetView.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=AaFPuEYYZ2pN_ZCictjx&open=AaFPuEYYZ2pN_ZCictjx&pullRequest=3281

Check warning on line 1815 in src/project/ProjectManager.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=AaFPuEbPZ2pN_ZCictj2&open=AaFPuEbPZ2pN_ZCictj2&pullRequest=3281

Check warning on line 1569 in src/styles/brackets.less

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "!important" and resolve the specificity conflict instead.

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

Check warning on line 1593 in src/project/WorkingSetView.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=AaFPuEYYZ2pN_ZCictjy&open=AaFPuEYYZ2pN_ZCictjy&pullRequest=3281

Check warning on line 381 in src/styles/brackets.less

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "!important" and resolve the specificity conflict instead.

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

Check warning on line 47 in src/extensionsIntegrated/TabBar/overflow.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function '_getHiddenTabs' to the outer scope.

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

Check warning on line 1817 in src/project/ProjectManager.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=AaFPuEbPZ2pN_ZCictj3&open=AaFPuEbPZ2pN_ZCictj3&pullRequest=3281

Check failure on line 63 in src/command/DefaultMenus.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "var" with "let" or "const", which are scoped to the block that declares them.

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

Check warning on line 441 in src/styles/brackets.less

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "!important" and resolve the specificity conflict instead.

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