flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

Feature Request: Highlight Code in Documentation Popup

Open getBoolean opened this issue 2 years ago • 6 comments

The class constructor/method is not highlighted in the documentation popup that appears when the mouse is hovered over any code. Highlighting this would make it much more readable for classes with many parameters in the constructor. (This issue also applies to dart code blocks in code documentation comments).

Not sure if there is an existing issue open for this. I did search for anything that could be related but didn't find one.

Steps to Reproduce

  1. Open any Dart/Flutter project
  2. Move the mouse over any class constructor
  3. See the constructor in the documentation popup is not highlighted, but is in VS Code
  4. Additionally, dart code blocks are not highlighted in the documentation popup, but are in VS Code

Intellij/Android Studio: idea64_icMjxXlG7R

VS Code: Code_uJatn5bbhV

Version info

❯ flutter doctor -v
[!] Flutter (Channel stable, 3.16.3, on Microsoft Windows [Version 10.0.22631.2861], locale en-US)
    • Flutter version 3.16.3 on channel stable at C:\Users\Boolean\.puro\envs\stable\flutter
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
    • Framework revision b0366e0a3f (9 days ago), 2023-12-05 19:46:39 -0800
    • Engine revision 54a7145303
    • Dart version 3.2.3
    • DevTools version 2.28.4
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\Boolean\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: C:\Users\Boolean\AppData\Local\Programs\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.1)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.6.33717.318
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2023.1)
    • Android Studio at C:\Users\Boolean\AppData\Local\Programs\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)

[√] IntelliJ IDEA Ultimate Edition (version 2023.2)
    • IntelliJ at C:\Users\Boolean\AppData\Local\Programs\IntelliJ IDEA Ultimate 2
    • Flutter plugin version 76.3.4
    • Dart plugin version 232.10248

[√] IntelliJ IDEA Ultimate Edition (version 2023.3)
    • IntelliJ at C:\Users\Boolean\AppData\Local\Programs\IntelliJ IDEA Ultimate
    • Flutter plugin version 77.0.1
    • Dart plugin version 233.11799.172

[√] VS Code, 64-bit edition (version 1.85.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.78.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.2861]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 119.0.6045.200
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 119.0.2151.44

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

getBoolean avatar Dec 14 '23 21:12 getBoolean

BUMP!

giridat avatar Dec 14 '23 21:12 giridat

I found a plugin that can achieve similar functions JB Marketplace image

mdddj avatar Jan 06 '24 08:01 mdddj

@mdddj thanks! This is awesome. I think showing the entire class for a type/method is excessive, but it's better than what we have currently.

getBoolean avatar Jan 06 '24 08:01 getBoolean

Bump

ashleymorris2 avatar Jan 18 '24 20:01 ashleymorris2

Is there/will there be an update on this. I've resorted to using VSCode for my flutter work as it I find this feature essential, but I'd much rather be using Android Studio/Jetbrains Product. For me this is a deal breaker.

ashleymorris2 avatar Feb 02 '24 10:02 ashleymorris2

@ashleymorris2 No contributor has responded so it is probably not coming anytime soon unless someone contributes a PR for it

getBoolean avatar Feb 05 '24 03:02 getBoolean