Skip to content

Commit

Permalink
attempt windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpareles committed Oct 25, 2024
1 parent 40aa319 commit a926efc
Show file tree
Hide file tree
Showing 4 changed files with 768 additions and 100 deletions.
11 changes: 10 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,16 @@ Now that you're set up, feel free to check out our [Issues](https://github.com/v
### b. Building on Windows

To build on Windows, please refer to [How to Contribute](https://github.com/microsoft/vscode/wiki/How-to-Contribute). We recommend building on Mac; we're Windows users who switch to Mac to build right now.
If you're on Windows, we recommend running the project inside a dev container. VSCode should prompt you to do this automatically.

Get [Visual Studio 2022](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community). Also find the boxes for "Desktop development with C++" and "Node.js development" and get those, too.

If you get a node-gyp error in the next few steps, you should also get [Visual Studio Build Tools](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools), find the Visual Studio Build Tools box, click Install (or Modify), then in Individual Components:
check every item under `MSVC v143 - VS 2022 C++ x64/x86 Spectre-mitigated libs (Latest)`, `C++ ATL for latest build tools with Spectre Mitigations`, and `C++ MFC for latest build tools with Spectre Mitigations`.


```
npm config set msvs_version 2022
```

## Roadmap

Expand Down
8 changes: 8 additions & 0 deletions extensions/void/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extensions/void/src/DisplayChangesProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class DisplayChangesProvider implements vscode.CodeLensProvider {

console.log('Creating DisplayChangesProvider')

// this acts as a useEffect. Every time text changes, clear the diffs in this editor
// this acts as a useEffect. Every time text changes, run this
vscode.workspace.onDidChangeTextDocument((e) => {

const editor = vscode.window.activeTextEditor
Expand Down
Loading

0 comments on commit a926efc

Please sign in to comment.