Skip to content

Commit

Permalink
Merge branch 'release/v1.6.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 committed Jul 12, 2016
2 parents 42a98a2 + 7800ca7 commit 937c07c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.6.2

* Исправлена некорректная работа всплывающей подсказки в VSC 1.3.0

## 1.6.1

* Исправлен показ параметров в синтаксис-помощнике
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Language 1C (BSL)",
"description": "Syntax highlighting for 1C:Enterprise 8.",
"icon": "images/xDDIcon.png",
"version": "1.6.1",
"version": "1.6.2",
"publisher": "xDrivenDevelopment",
"galleryBanner": {
"color": "#0000FF",
Expand All @@ -22,7 +22,7 @@
"Languages"
],
"engines": {
"vscode": "^1.0.0"
"vscode": "^1.3.0"
},
"main": "./out/src/extension",
"scripts": {
Expand Down Expand Up @@ -148,7 +148,7 @@
},
"devDependencies": {
"typescript": "1.8.10",
"vscode": "^0.11.10"
"vscode": "^0.11.14"
},
"dependencies": {
"filequeue": "^0.5.0",
Expand Down
4 changes: 2 additions & 2 deletions src/features/hoverProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default class GlobalHoverProvider extends AbstractProvider implements vsc
for (let element in signature) {
let re = new RegExp("\\(.*\\):\\s*.*", "g");
let retValue = re.exec(signature[element].СтрокаПараметров) ? "Функция " : "Процедура ";
description.push({ language: "1C (BSL)", value: retValue + entry.name + signature[element].СтрокаПараметров });
description.push({ language: "bsl", value: retValue + entry.name + signature[element].СтрокаПараметров });
// description.push("Параметры");
for (let param in signature[element].Параметры) {
description.push("***" + param + "***: " + signature[element].Параметры[param]);
Expand All @@ -98,7 +98,7 @@ export default class GlobalHoverProvider extends AbstractProvider implements vsc
methodDescription = methodDescription + (arraySignature.fullRetState ? arraySignature.fullRetState : "");
description.push(methodContext);
description.push(methodDescription);
description.push({language: "1C (BSL)", value: (entry.isproc ? "Процедура " : "Функция ") + entry.name + arraySignature.paramsString + (arraySignature.strRetState ? ": " + arraySignature.strRetState : "")});
description.push({language: "bsl", value: (entry.isproc ? "Процедура " : "Функция ") + entry.name + arraySignature.paramsString + (arraySignature.strRetState ? ": " + arraySignature.strRetState : "")});
for (let param in entry._method.Params) {
let documentationParam = this._global.GetDocParam(arraySignature.description, entry._method.Params[param]);
description.push("***" + entry._method.Params[param] + "***: " + documentationParam.descriptionParam);
Expand Down

0 comments on commit 937c07c

Please sign in to comment.