Skip to content

Replacing setTextValue → setText, setText2Value → setText2, setDescriptionValue → setDescription#41

Merged
VISTALL merged 1 commit intoconsulo:masterfrom
unv-unv:eliminating-set-text-value
Apr 7, 2026
Merged

Replacing setTextValue → setText, setText2Value → setText2, setDescriptionValue → setDescription#41
VISTALL merged 1 commit intoconsulo:masterfrom
unv-unv:eliminating-set-text-value

Conversation

@unv-unv
Copy link
Copy Markdown
Contributor

@unv-unv unv-unv commented Apr 7, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates progress/presentation API usage across the Python implementation module by replacing deprecated *Value setter calls with the newer setter method names.

Changes:

  • Replace setTextValue(...) with setText(...) on progress indicators and presentations.
  • Replace setText2Value(...) with setText2(...) on progress indicators.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
python-impl/src/main/java/com/jetbrains/python/impl/sdk/skeletons/PySkeletonRefresher.java Updates progress indicator text setters to the new API names.
python-impl/src/main/java/com/jetbrains/python/impl/sdk/PythonSdkUpdater.java Updates progress indicator messaging during SDK skeleton/package refresh.
python-impl/src/main/java/com/jetbrains/python/impl/sdk/AbstractCreateVirtualEnvDialog.java Updates progress indicator text setter while creating virtualenv.
python-impl/src/main/java/com/jetbrains/python/impl/packaging/setupPy/CreateSetupPyAction.java Updates template presentation text setter to the new API name.
python-impl/src/main/java/com/jetbrains/python/impl/debugger/PyDebugProcess.java Updates connection progress indicator text setter.
python-impl/src/main/java/com/jetbrains/python/impl/console/PythonDebugLanguageConsoleView.java Updates action presentation text setter to the new API name.
python-impl/src/main/java/com/jetbrains/python/impl/console/PydevConsoleRunnerImpl.java Updates console connection progress indicator text setter.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +161 to +165
indicator.setText(LocalizeValue.localizeTODO("Updating skeletons..."));
PySkeletonRefresher.refreshSkeletonsOfSdk(project1, ownerComponent, skeletonsPath, sdkInsideTask);
indicator.setIndeterminate(true);
indicator.setTextValue(LocalizeValue.localizeTODO("Scanning installed packages..."));
indicator.setText2Value(LocalizeValue.empty());
indicator.setText(LocalizeValue.localizeTODO("Scanning installed packages..."));
indicator.setText2(LocalizeValue.empty());
Copy link

Copilot AI Apr 7, 2026

Choose a reason for hiding this comment

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

The PR title mentions replacing setDescriptionValue → setDescription, but there don’t appear to be any setDescriptionValue usages in the repo (and none changed in this PR). Consider updating the title to reflect only the actual replacements, or include the missing setDescriptionValue change if it was intended.

Copilot uses AI. Check for mistakes.
@VISTALL VISTALL merged commit 3a90c35 into consulo:master Apr 7, 2026
5 checks passed
@unv-unv unv-unv deleted the eliminating-set-text-value branch April 7, 2026 10:19
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.

3 participants