question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Refactorings gone

See original GitHub issue

I don’t know if this is the Dart extension, the Flutter extension, or neither, but the refactoring right-click menu option has disappeared. When I use my keyboard shortcut I get “No refactorings available”.

Versions:

Dart extension: 3.12.1
Flutter extension: 3.12.1

flutter doctor -v:

[✓] Flutter (Channel beta, 1.19.0-4.3.pre, on Mac OS X 10.15.5 19F101, locale en-US)
    • Flutter version 1.19.0-4.3.pre at /Users/wh/flutter
    • Framework revision 8fe7655ed2 (17 hours ago), 2020-07-01 14:31:18 -0700
    • Engine revision 9a28c3bcf4
    • Dart version 2.9.0 (build 2.9.0-14.1.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/wh/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.46.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.1

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

• No issues found!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, Feb 18, 2021

@pharshdev I suspect you’re seeing https://github.com/Dart-Code/Dart-Code/issues/2885. If you use the standard lightbulb menu (Cmd+.) are they listed there? If so, the issue is fixed for an upcoming SDK release.

0reactions
pharshdevcommented, Feb 18, 2021

refactorings are gone suddenly image

also //TODO: doesn’t show up in “Problems” tab.

Tried reinstalling dart, flutter extension. Dart: v3.19.2 Flutter: v3.19.0 OS: Big Sur

Read more comments on GitHub >

github_iconTop Results From Across the Web

Clojure layer refactorings are gone. · Issue #11531 - GitHub
Seems all refactoring from clj-refactor are gone from the Clojure layer. Can't see any of its functions or bindings.
Read more >
where has the refactoring context menu have gone?
Does anybody know where the refactoring context menu has gone? Where is the "promote local variable to parameter"? Where is the "extract ...
Read more >
Refactoring options not available | Telerik Forums
We decided to base our Visual Studio 2015 on top of Roslyn and there are still some refactorings missing. Feel free to open...
Read more >
'Do Refactor' button disappears if refactoring preview search is ...
After rerunning the refactor search, I can execute the refactor · Ideally, the refreshed search list should preserve my selections (i.e. anything I...
Read more >
When Refactoring Goes Bad - Collective Idea
Refactoring is an important part of any project, but what happens when it ... We went 5 months between commits to our production...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found