-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Provide plug-ins recommendations #18274
Comments
it would be nice to have a "notes" field in plugins meta.yaml, so one can add extra notes for different versions of the same plugin/extensions-combination. example: "you are using the haskell debug-adapter, but it will not be activated until you open a .hs (or others haskell) file". Or "haskell stack/bazel build is required for peeking/going to a definition in code files, click to run or it will when you open a haskell code file". for the extension-based recommendations there's this field in package.json for vsix extensions: "contributes": {
"languages": [
{
"id": "haskell",
"aliases": [
"Haskell",
"haskell"
],
"extensions": [
".hs"
]
} |
hello @gattytto, yes this fragment of vsix package.json will be used to make generic recommendations |
@gattytto I think what you're describing might be better suited for the README of the sample project, that way it can be formatted in a clear way and users can always reference it. |
I have added some "Acceptance Criteria" that I had initially included in #18668 |
Target 7.27, but can backport to 7.26.2 if @sympatheticmoose deems it important enough. |
We'd hoped for this in CRW 2.7 (7.26) |
review is taking too long. it's like in infinite loop |
@benoitf anything that would help resolve? Maybe a dedicated call/working session? |
@benoitf @sympatheticmoose I checked back last Thursday and some changes had not been pushed. Friday was H&H day. Also: not all comments were addressed and a companion docs PR is missing. If that requirement should be waived, let's discuss it. |
@tsmaeder PR is there for months, no review for a couple of weeks after changes have been made, and 'changes not pushed was fixed in 10mn' so problem is elsewhere. |
@benoitf the problem with the PR sitting there is that me personally, I get added as a reviewer "as a code owner" to way more than I could ever review. So I just look at the ones where I kinda know I can meaningfully contribute or where I'm explicitly requested. Reviewing a PR of this size takes at least a couple of hours if you take it seriously, so it's not a side task. |
About the docs PR: I think we need one because of the new preference setting. I wasn't sure about where the key was used: maybe it was documented elsewhere. Seems it's not. |
There are unaddressed comments from @sunix from 28 days ago:
If they aren't blocking concerns then let's discuss or comment in the PR. As for this comment, @sunix please check it again. |
@ericwill I tried to fix the requested changes comment first because if you don't fix the blocking stuff, other comments won't change something it has been fixed there: eclipse-che/che-theia#916 (review) and no reply since. so when blocking changes are gone, I may address other comments |
@sympatheticmoose might help to escalate this from "P2" priority to something higher so it floats higher on the auto-backlog. Also setting it to the 7.26 milestone would be a good indicator that this is meant for CRW 2.7 This issue also has no assignee, and is not labelled with a team owner, only the dev-experience area. |
In the future, let's discuss these during prioritization and create downstream tickets with appropriate fixVersions. This issue has a milestone of 7.27 and is marked as P2. Apart from a small entry in the 2.7 JIRA epic description, I have no way of knowing that this is a priority item for CRW 2.7.
I can see your point, but leaving comments unaddressed for weeks also gives the impression that the PR isn't being worked on or is low priority. In the future, let's:
and I will make sure reviews are quicker. |
Maybe it's time to implement an "epic/crw26" label so we can more easily query for issues that PM wants from upstream, and then be able to turn those into JIRAs linked to the CRW epic issue? Right now there's no way to know if a given Che issue is important for a given CRW release, or to easily query for more than one label. Because we also can't have more than one milestone per issue (unlike JIRA, which can have multiple affectsVersion and fixVersion values), and we don't currently use a "backport" label, only a backport PR will bear the information that a given issue's solution in 7.27 was also backported to 7.26.x. So... WDYT about adding these labels and encouraging their consistent use in future?
|
Sounds like it's too late to get this backported into 7.26.x and CRW 2.7. I've updated the 2.7 & 2.8 epics accordingly. |
I don't observe such functionality on the latest Che
I created a workspace using mentioned devfile. As you can see it contains only the project definition without any plugins. |
@Ohrimenko1988 this issue has already been done |
Is your enhancement related to a problem? Please describe.
When user starts with a repository without devfile, they don't have any plug-ins enabled.
For example using spring petclinic, no java intellisense is provided.
use cases are the following:
.vscode/extensions.json
file (and matching plug-ins available from the plug-in registry).code-workspace
files that haveextensions/recommandations
field (and matching plug-ins available from the plug-in registry)Describe the solution you'd like
Featured plug-ins are 'manually selected' plug-ins that are promoted from the plug-in registry.
All other recommendations are automatically generated from plug-in registry content.
Acceptance Criteria
If the user accepts the recommendations the workspace should be reloaded.
If the workspace already includes the recommended extensions the user won't be prompted.
If the user ignores the recommended extensions he shouldn't be asked again when the workspace is restarted.
When accepting recommendations user should be prompted if files
.vscode/extensions.json
should not.che/che-theia-plugins.yaml
be created/edited or not.If the user updates
.vscode/extensions.json
or.che/che-theia-plugins.yaml
he should be asked if he wants to include the extensions and reload the workspace.The text was updated successfully, but these errors were encountered: