Skip to content
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

Bring back missing action description #1891

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

mkondratek
Copy link
Contributor

@mkondratek mkondratek commented Jul 8, 2024

Rel: #1872
Fixes: #1892

The error

java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key action.sourcegraph.disabled.description
	at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:564)
	at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
	at com.sourcegraph.common.CodyBundle.getString(CodyBundle.kt:29)
	at com.sourcegraph.cody.chat.actions.BaseChatAction.update(BaseChatAction.kt:31)

Test plan

I am not sure. I was testing my own branch and I encountered the error.

@mkondratek mkondratek self-assigned this Jul 8, 2024
@mkondratek mkondratek enabled auto-merge (squash) July 8, 2024 15:36
@@ -157,6 +157,7 @@ filter.sidebar-panel-ignored-file.learn-more-cta=Learn more
# Other Actions
action.cody.restartAgent.text=Restart Cody Agent
chat.enhanced_context.title=Chat Context Settings
action.sourcegraph.disabled.description=Log in to Sourcegraph to enable Cody features
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please put it in plugin.xml where all others are?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly, IntelliJ SDK does not support text for disabled actions. Maybe we should not modify the descriptions at all? Anyway, if we want to keep the desc it must remain as it is.

Copy link
Contributor

@pkukielka pkukielka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mkondratek mkondratek merged commit f78d85f into main Jul 10, 2024
15 checks passed
@mkondratek mkondratek deleted the mkondratek/fix/disabled-desc branch July 10, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JetBrains: Crash occurred after installing Cody.
2 participants