-
Notifications
You must be signed in to change notification settings - Fork 172
docs: Rewriting pages about editors #2552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
e567fbb
initial changes
max-cx 93eef14
fix: rewriting the IDE-related pages
max-cx 2462606
edit 'Adding or removing extensions in the embedded Open VSX registry…
max-cx 39b74e3
rewrite the assembly and remove the outdated concept module
max-cx f2bcf40
new edits
max-cx d862bca
further edits
max-cx 8aadf90
fix: typo
max-cx a373437
remove the mention of the editorconfig file
max-cx ba4cc1e
Update modules/end-user-guide/pages/url-parameter-for-the-cloud-ide.adoc
max-cx d9ad0d2
Update modules/end-user-guide/pages/url-parameter-for-the-cloud-ide.adoc
max-cx 7accd9e
initial changes in response to Mario's feedback
max-cx d0c5266
work in progress
max-cx 77b50ae
remove 'cloud' from IDE
max-cx 0b442cf
add an admonition requested by Mario
max-cx 4d20a87
incorporate new feedback from Artem
max-cx 0aeb0c3
Restarting the jobs
max-cx 9743d6f
Add 'Restart Workspace from Local Devfile' command to the correspondi…
RomanNikitenko 3ef0dd1
rewrite of the vsx-related procedure due to changes in vsx.org
max-cx 98d201c
Update modules/end-user-guide/partials/proc_adding-vs-code-extensions…
max-cx a98bf3c
edit proc_adding-or-removing-extensions-in-the-embedded-open-vsx-regi…
max-cx 5e17d50
Apply suggestions from code review
max-cx b8c0262
Update modules/end-user-guide/pages/defining-a-common-ide.adoc
max-cx 80378d4
Update modules/end-user-guide/pages/url-parameter-for-the-ide.adoc
max-cx d24ef3c
Update modules/end-user-guide/pages/ides-in-workspaces.adoc
max-cx 50e778c
Apply suggestions from code review
max-cx d4deb4a
minor edit
max-cx 8059611
another minor edit
max-cx 1a55e18
another minor edit
max-cx 2fd4265
another minor edit
max-cx 7372f25
another minor edit
max-cx 3c73c24
another minor edit
max-cx 1540524
another minor edit
max-cx a2416df
minor edit
max-cx 4e7297c
minor edit
max-cx 70e68be
minor edit
max-cx 0bd023f
apply changes requested in https://github.com/eclipse-che/che-docs/pu…
max-cx 698bfd4
manually apply suggestion from code review
max-cx 9733ed6
minor edit
max-cx 293b3f4
test rearranging the steps due to the snippet file
max-cx 74b9d2d
rearrange admonition content
max-cx bedfd05
minor edit
max-cx 4170924
minor edit
max-cx 958b6cf
Update modules/end-user-guide/pages/microsoft-visual-studio-code-open…
max-cx 2b54c41
Update modules/end-user-guide/partials/proc_adding-vs-code-extensions…
max-cx 47d4edd
rename section heading and file name
max-cx 1cdb621
edit the section heading and file name
max-cx 1484bd3
minor edit
max-cx 31252fe
merge two tips
max-cx 3b3bb4f
temporary xref fix - correct text, parking file
max-cx d5a6c2c
temporary cross-reference fix
max-cx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,17 @@ | ||
| :_content-type: PROCEDURE | ||
| :navtitle : Defining a common IDE | ||
| :description: Defining a common IDE | ||
| :keywords: select-IDE, che-editor, che-editor-yaml | ||
| :page-aliases: specifying-an-in-browser-ide-for-a-git-repository-by-using-che-editor.yaml.adoc, selecting-an-in-browser-ide-for-all-workspaces-that-clone-the-same-git-repository.adoc | ||
|
|
||
| [id="defining-a-common-ide"] | ||
| = Defining a common IDE | ||
|
|
||
| While the xref:url-parameter-for-the-ide.adoc[URL parameter for the IDE] enables you to start a workspace with your personal choice of the supported IDE, you might find it more convenient to define the same IDE for all workspaces for the same source code Git repository. To do so, use the `che-editor.yaml` file. This file supports even a detailed IDE configuration. | ||
|
|
||
| TIP: If you intend to start most or all of your organization's workspaces with the same IDE other than Microsoft Visual Studio Code - Open Source, an alternative is for the administrator of your organization's {prod-short} instance to specify another supported IDE as the default IDE at the {prod-short} instance level. This can be done with `.spec.devEnvironments.defaultEditor` in the `CheCluster` Custom Resource. | ||
|
|
||
max-cx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| include::partial$proc_setting-up-che-editor-yaml.adoc[leveloffset=+1] | ||
|
|
||
| include::partial$ref_parameters-for-che-editor-yaml.adoc[leveloffset=+1] | ||
|
|
||
This file contains hidden or 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,30 @@ | ||
| :_content-type: PROCEDURE | ||
| :description: IDEs in workspaces | ||
| :keywords: configuring, workspace, editor, ide, cloud ide | ||
| :navtitle: IDEs in workspaces | ||
| :page-aliases: | ||
|
|
||
| [id="ides-in-workspaces"] | ||
| = IDEs in workspaces | ||
|
|
||
| == Supported IDEs | ||
|
|
||
| The default IDE in a new workspace is Microsoft Visual Studio Code - Open Source. Alternatively, you can choose another supported IDE: | ||
|
|
||
| .Supported IDEs | ||
|
|
||
| [cols="1,1a,1a"] | ||
| |=== | ||
| | IDE | `id` | Note | ||
|
|
||
| include::example$snip_{project-context}-table-of-supported-editors.adoc[] | ||
|
|
||
| |=== | ||
|
|
||
| == Repository-level IDE configuration in {prod-short} | ||
|
|
||
| You can store IDE configuration files directly in the remote Git repository that contains your project source code. This way, one common IDE configuration is applied to all new workspaces that feature a clone of that repository. Such IDE configuration files might include the following: | ||
|
|
||
| * xref:defining-a-common-ide.adoc[The `/.che/che-editor.yaml` file] that stores a definition of the chosen IDE. | ||
|
|
||
| * IDE-specific configuration files that one would typically store locally for a desktop IDE. For example, xref:microsoft-visual-studio-code-open-source-ide.adoc[the `/.vscode/extensions.json` file.] |
31 changes: 31 additions & 0 deletions
31
modules/end-user-guide/pages/microsoft-visual-studio-code-open-source-ide.adoc
This file contains hidden or 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,31 @@ | ||
| :_content-type: CONCEPT | ||
| :description: Microsoft Visual Studio Code - Open Source IDE | ||
| :keywords: user-guide, selecting, IDE, select, selecting, editor, ide, vs-code, visual-studio, visual-studio-code, jetbrains, intellij, pycharm, theia, che-theia | ||
| :navtitle: Microsoft Visual Studio Code - Open Source | ||
| :page-aliases: | ||
|
|
||
| [id="microsoft-visual-studio-code-open-source-ide"] | ||
| = Microsoft Visual Studio Code - Open Source IDE | ||
|
|
||
| The {prod-short} build of link:https://github.com/microsoft/vscode[Microsoft Visual Studio Code - Open Source] is the default IDE of a new workspace. | ||
|
|
||
| You can automate installation of Microsoft Visual Studio Code extensions from the xref:administration-guide:extensions-for-microsoft-visual-studio-code-open-source.adoc[Open VSX registry] at workspace startup. See _Automating installation of Microsoft Visual Studio Code extensions at workspace startup_. | ||
|
|
||
| [TIP] | ||
| ==== | ||
|
|
||
| * Use link:https://code.visualstudio.com/Docs/editor/tasks[Tasks] to find and run the commands specified in `devfile.yaml`. | ||
|
|
||
| * Use *{prod2}* commands by clicking *{prod2}* in the link:https://code.visualstudio.com/api/ux-guidelines/status-bar[Status Bar] or finding them through the link:https://code.visualstudio.com/api/ux-guidelines/command-palette[Command Palette]: | ||
|
|
||
| ** *{prod2}: Open Dashboard* | ||
| ** *{prod2}: Stop Workspace* | ||
| ** *{prod2}: Restart Workspace* | ||
| ** *{prod2}: Restart Workspace from Local Devfile* | ||
| ** *{prod2}: Open Documentation* | ||
|
|
||
| ==== | ||
|
|
||
| NOTE: You might see your organization's branding in this IDE if your organization customized it through a branded build. | ||
max-cx marked this conversation as resolved.
Show resolved
Hide resolved
max-cx marked this conversation as resolved.
Show resolved
Hide resolved
max-cx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| include::partial$proc_automating-installation-of-microsoft-visual-studio-code-extensions-at-workspace-startup.adoc[leveloffset=+1] | ||
This file contains hidden or 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
27 changes: 0 additions & 27 deletions
27
modules/end-user-guide/pages/selecting-a-workspace-ide.adoc
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...ng-an-in-browser-ide-for-all-workspaces-that-clone-the-same-git-repository.adoc
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
...les/end-user-guide/pages/selecting-an-in-browser-ide-for-one-new-workspace.adoc
This file was deleted.
Oops, something went wrong.
50 changes: 50 additions & 0 deletions
50
modules/end-user-guide/pages/url-parameter-for-the-ide.adoc
This file contains hidden or 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,50 @@ | ||
| :_content-type: CONCEPT | ||
| :description: URL parameter for the IDE | ||
| :keywords: ide, editor, workspace-ide, workspace-editor | ||
| :navtitle: URL parameter for the IDE | ||
| :page-aliases: url-parameter-for-the-in-browser-ide.adoc | ||
|
|
||
| [id="url-parameter-for-the-ide"] | ||
| = URL parameter for the IDE | ||
|
|
||
| You can use the `che-editor=` URL parameter to specify a supported IDE when starting a workspace. | ||
|
|
||
| TIP: Use the `che-editor=` parameter when you cannot add or edit a xref:defining-a-common-ide.adoc[`/.che/che-editor.yaml`] file in the source-code Git repository to be cloned for workspaces. | ||
|
|
||
| NOTE: The `che-editor=` parameter overrides the xref:defining-a-common-ide.adoc[`/.che/che-editor.yaml`] file. | ||
|
|
||
| This parameter accepts two types of values: | ||
|
|
||
| * `che-editor=__<editor_key>__` | ||
| + | ||
| [source,subs="+quotes,+attributes,+macros"] | ||
| ---- | ||
| pass:c,a,q[{prod-url}]#__<git_repository_url>__?che-editor=__<editor_key>__ | ||
| ---- | ||
| + | ||
|
|
||
| .The URL parameter `__<editor_key>__` values for supported IDEs | ||
| [cols="1,1a,1a"] | ||
| |=== | ||
| | IDE | `__<editor_key>__` value | Note | ||
|
|
||
| include::example$snip_{project-context}-table-of-supported-editors.adoc[] | ||
|
|
||
| |=== | ||
|
|
||
| * `che-editor=__<url_to_a_file>__` | ||
| + | ||
| [source,subs="+quotes,+attributes,+macros"] | ||
| ---- | ||
| pass:c,a,q[{prod-url}]#__<git_repository_url>__?che-editor=__<url_to_a_file>__# <1> | ||
| ---- | ||
| <1> URL to a file with link:https://devfile.io/docs/2.2.0/what-is-a-devfile[devfile content]. | ||
| + | ||
| [TIP] | ||
| ==== | ||
|
|
||
| * The URL must point to the raw file content. | ||
|
|
||
| * To use this parameter with a xref:defining-a-common-ide.adoc[`che-editor.yaml`] file, copy the file with another name or path, and remove the line with `inline` from the file. | ||
max-cx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ==== | ||
29 changes: 0 additions & 29 deletions
29
modules/end-user-guide/pages/url-parameter-for-the-workspace-ide.adoc
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.