Skip to content

Commit f8f31a2

Browse files
committed
Merge remote-tracking branch 'upstream/master' into pre-sync-1.4.1
2 parents 0b14353 + 4e04306 commit f8f31a2

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## [1.4.1] 14-Jan-2022
4+
- Fixes
5+
- Version 1.4.0 is failing to activate (#827)
6+
37
## [1.4.0] 14-Jan-2022
48
- Enhancements
59
- Make `Ctrl / Cmd+T` lookup (Open Symbol by Name) check all servers connected to a multi-root workspace (#815)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ To unlock these features (optional):
6262

6363
1. Download and install a beta version from GitHub. This is necessary because Marketplace does not allow publication of extensions that use proposed APIs.
6464
- Go to https://github.com/intersystems-community/vscode-objectscript/releases
65-
- Locate the beta immediately above the release you installed from Marketplace. For instance, if you installed `1.4.0`, look for `1.4.1-beta.1`. This will be functionally identical to the Marketplace version apart from being able to use proposed APIs.
66-
- Download the VSIX file (for example `vscode-objectscript-1.4.1-beta.1.vsix`) and install it. One way to install a VSIX is to drag it from your download folder and drop it onto the list of extensions in the Extensions view of VS Code.
65+
- Locate the beta immediately above the release you installed from Marketplace. For instance, if you installed `1.4.1`, look for `1.4.2-beta.1`. This will be functionally identical to the Marketplace version apart from being able to use proposed APIs.
66+
- Download the VSIX file (for example `vscode-objectscript-1.4.2-beta.1.vsix`) and install it. One way to install a VSIX is to drag it from your download folder and drop it onto the list of extensions in the Extensions view of VS Code.
6767

6868
2. From [Command Palette](https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_command-palette) choose `Preferences: Configure Runtime Arguments`.
6969
3. In the argv.json file that opens, add this line (required for both Stable and Insiders versions of VS Code):

src/extension.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,18 +654,22 @@ export async function activate(context: vscode.ExtensionContext): Promise<any> {
654654

655655
// Gather the proposed APIs we will register to use when building with enabledApiProposals != []
656656
const proposed = [
657+
typeof packageJson.enabledApiProposals === "object" &&
657658
packageJson.enabledApiProposals.includes("fileSearchProvider") &&
658659
typeof vscode.workspace.registerFileSearchProvider === "function"
659660
? vscode.workspace.registerFileSearchProvider(FILESYSTEM_SCHEMA, new FileSearchProvider())
660661
: null,
662+
typeof packageJson.enabledApiProposals === "object" &&
661663
packageJson.enabledApiProposals.includes("fileSearchProvider") &&
662664
typeof vscode.workspace.registerFileSearchProvider === "function"
663665
? vscode.workspace.registerFileSearchProvider(FILESYSTEM_READONLY_SCHEMA, new FileSearchProvider())
664666
: null,
667+
typeof packageJson.enabledApiProposals === "object" &&
665668
packageJson.enabledApiProposals.includes("textSearchProvider") &&
666669
typeof vscode.workspace.registerTextSearchProvider === "function"
667670
? vscode.workspace.registerTextSearchProvider(FILESYSTEM_SCHEMA, new TextSearchProvider())
668671
: null,
672+
typeof packageJson.enabledApiProposals === "object" &&
669673
packageJson.enabledApiProposals.includes("textSearchProvider") &&
670674
typeof vscode.workspace.registerTextSearchProvider === "function"
671675
? vscode.workspace.registerTextSearchProvider(FILESYSTEM_READONLY_SCHEMA, new TextSearchProvider())

0 commit comments

Comments
 (0)