Fixes bug when a maven file-type (without linked editor provider) is registered and another file type for pom.xml files (with linked editor provider) is registered as well, but when the pom.xml file is opened default editor provider is returned. The fix iterates registered editor providers if the the default provider is registered for the found file type.
Also removed commands from the same sample. The default commands differ
in centos and ubuntu based images (apache2 vs httpd commands) - let the
stack handle default commands for this simple sample.
Signed-off-by: Radim Hopp <rhopp@redhat.com>
### What does this PR do?
This changes proposal modifies the behavior of _Open in Terminal_ action, so the current directory path pass to terminal options in absolute path form instead of relative as it was before.
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
### What issues does this PR fix or reference?
#10894
<!-- #### Changelog -->
<!-- The changelog will be pulled from the PR's title.
Please provide a clear and meaningful title to the PR and don't include issue number -->
#### Release Notes
<!-- markdown to be included in marketing announcement - N/A for bugs -->
N/A
#### Docs PR
<!-- Please add a matching PR to [the docs repo](https://github.com/eclipse/che-docs) and link that PR to this issue.
Both will be merged at the same time. -->
N/A
Change the default run command for `centos nodejs` stack from `node app.js` (which will work only if the entry point of the project is app.js) to `node .` (which will work for all nodejs projects which have a `main` section defined in `package.json` file. The `main` section defines the entry point.
Related to https://github.com/redhat-developer/rh-che/pull/1078
Signed-off-by: Ibrahim Jarif <jarifibrahim@gmail.com>
Allows running Che 7 workspace without any user environment but with Che 7 tooling set.
Workspace without environment has an empty list of environments and null value in `defaultEnv` field.
Field `activeEnv` is supposed to be `null` too.
What is changed:
- Migration of DB
- make defaultEnv nullable
- remove env_name from runtimes primary key
- make env_name in runtimes nullable
- Make code respect the fact that there are workspaces with no env
- settings API that returns the list of supported environment types returns no-environment type that - indicates that infrastructure support workspace with no environment at all.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
* Reuse the Dashboard Keycloak instance in IDE frames when possible
This avoids one or 2 authentication flows between the real IDE loading,
and decrease the overall IDE loading process by 5 seconds or more.
(5-6 seconds out of 10-12s in my case)
Signed-off-by: David Festal <dfestal@redhat.com>
### What does this PR do?
This changes proposal adds few fix related to edit command name. First fix prevent saving command name with trailing whitespaces. Second fix adds backward compatibility to allow char `:` in command names. Third fix prevent command duplication after update operation.
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
### What issues does this PR fix or reference?
#4940
<!-- #### Changelog -->
<!-- The changelog will be pulled from the PR's title.
Please provide a clear and meaningful title to the PR and don't include issue number -->
#### Release Notes
<!-- markdown to be included in marketing announcement - N/A for bugs -->
#### Docs PR
<!-- Please add a matching PR to [the docs repo](https://github.com/eclipse/che-docs) and link that PR to this issue.
Both will be merged at the same time. -->