Skip to content

Commit

Permalink
geração vsix 1.3.19 final
Browse files Browse the repository at this point in the history
  • Loading branch information
lwtnb-wrk committed Aug 7, 2023
1 parent 7e322d0 commit 8626a40
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 21 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Corrigido erro de execução de navegador em ambientes Linux.

Corrigido erro de resolução de {variavel} em logpoints.

### 'Command not found' ao clicar em um environment de um servidor [#1131](https://github.com/totvs/tds-vscode/issues/1131)

Corrigido erro de 'Command not found' ao clicar em um environment de um servidor. Utilizar o ícone de seleção deste environment para sua conexão.

## Melhorias

### Adicionadas informações de condições de erro para algumas ações
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "tds-vscode",
"displayName": "TOTVS Developer Studio for VSCode (AdvPL, TLPP e 4GL)",
"description": "%tds.package.description%",
"version": "1.3.19-RC5",
"version": "1.3.19",
"publisher": "TOTVS",
"author": {
"name": "TOTVS",
Expand Down
5 changes: 1 addition & 4 deletions src/serverItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,8 @@ export class EnvSection extends vscode.TreeItem {
constructor(
public label: string,
public readonly serverItemParent: ServerItem,
public collapsibleState: vscode.TreeItemCollapsibleState,
public readonly command?: vscode.Command,
public environments?: string[]
) {
super(label, collapsibleState);
super(label);
}

public get isCurrent(): boolean {
Expand Down
16 changes: 0 additions & 16 deletions src/serverItemProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,6 @@ class ServerItemProvider
new EnvSection(
env,
element,
vscode.TreeItemCollapsibleState.None,
{
command: "totvs-developer-studio.environmentSelection",
title: "",
arguments: [env],
}
)
);
this.localServerItems[element.id].collapsibleState =
Expand All @@ -139,9 +133,6 @@ class ServerItemProvider
new EnvSection(
element.name,
element,
element.collapsibleState,
undefined,
listOfEnvironments
)
);
} else {
Expand Down Expand Up @@ -241,13 +232,6 @@ class ServerItemProvider
const env = new EnvSection(
environment,
element,
vscode.TreeItemCollapsibleState.None,
{
command: "totvs-developer-studio.environmentSelection",
title: "",
arguments: [environment],
},
environment
);

if (serverConfig.savedTokens) {
Expand Down

0 comments on commit 8626a40

Please sign in to comment.