forked from microsoft/vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the name of the VsCode app to IDX Code
Change the name of the VsCode app to IDX Code. * **Update application name** - Change `nameShort` and `nameLong` to "IDX Code" in `product.json`. - Change `name` to "IDX Code" in `.devcontainer/devcontainer.json`. - Change `Name` and `StartupWMClass` to "IDX Code" in `resources/linux/code.desktop`. * **Disable telemetry** - Add `disableTelemetry` property and set it to `true` in `product.json`. - Change the default value of `TELEMETRY_SETTING_ID` to `TelemetryConfiguration.OFF` in `src/vs/platform/telemetry/common/telemetryService.ts`. * **Add installation guide** - Add `INSTALL.md` file detailing the build and package process for the IDX Code application. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/HomeDev68/IDX-Code?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
9 changed files
with
88 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "Code - OSS", | ||
"name": "IDX Code", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Installation Guide for IDX Code | ||
|
||
This guide provides step-by-step instructions to build and package the IDX Code application. | ||
|
||
## Prerequisites | ||
|
||
Ensure you have the following installed on your system: | ||
- Node.js | ||
- npm | ||
|
||
You can download and install them from [Node.js](https://nodejs.org/). | ||
|
||
## Steps to Build and Package IDX Code | ||
|
||
1. **Clone the Repository** | ||
|
||
Clone the repository and navigate to the project directory. | ||
|
||
```sh | ||
git clone https://github.com/HomeDev68/IDX-Code.git | ||
cd IDX-Code | ||
``` | ||
|
||
2. **Install Dependencies** | ||
|
||
Install the required dependencies by running: | ||
|
||
```sh | ||
npm install | ||
``` | ||
|
||
3. **Compile the Source Code** | ||
|
||
Compile the source code by running: | ||
|
||
```sh | ||
npm run compile | ||
``` | ||
|
||
4. **Build the Electron Application** | ||
|
||
To build the Electron application, run: | ||
|
||
```sh | ||
npm run electron | ||
``` | ||
|
||
5. **Package the Application** | ||
|
||
To package the application, run: | ||
|
||
```sh | ||
npm run package | ||
``` | ||
|
||
## Disabling Telemetry by Default | ||
|
||
To disable telemetry by default, ensure the following changes are made: | ||
|
||
1. In the `src/vs/platform/telemetry/common/telemetryService.ts` file, update the default value of the `TELEMETRY_SETTING_ID` configuration to `TelemetryConfiguration.OFF`. | ||
|
||
2. In the `product.json` file, add or update the `disableTelemetry` property to `true`. | ||
|
||
By following these steps, you will be able to build and package the IDX Code application with telemetry disabled by default. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Package: @@NAME@@ | ||
Package: idx-code | ||
Version: @@VERSION@@ | ||
Section: devel | ||
Depends: @@DEPENDS@@ | ||
|
@@ -8,9 +8,9 @@ Architecture: @@ARCHITECTURE@@ | |
Maintainer: Microsoft Corporation <[email protected]> | ||
Homepage: https://code.visualstudio.com/ | ||
Installed-Size: @@INSTALLEDSIZE@@ | ||
Provides: visual-studio-@@NAME@@ | ||
Conflicts: visual-studio-@@NAME@@ | ||
Replaces: visual-studio-@@NAME@@ | ||
Provides: visual-studio-idx-code | ||
Conflicts: visual-studio-idx-code | ||
Replaces: visual-studio-idx-code | ||
Description: Code editing. Redefined. | ||
Visual Studio Code is a new choice of tool that combines the simplicity of | ||
a code editor with what developers need for the core edit-build-debug cycle. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Name: @@NAME@@ | ||
Name: idx-code | ||
Version: @@VERSION@@ | ||
Release: @@RELEASE@@.el8 | ||
Summary: Code editing. Redefined. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters