Tooltips and context help stopped working in version 2.15.3

Issue #140 resolved
Matthew Humphrey
created an issue

Today Sublime upgraded the SV plug-in, and context sensitive help (the pop-up when you hit "." after typing a variable of some sort) in a SystemVerilog file has stopped working altogether. Also, tool-tip navigation is no longer present, and tool-tips no longer show up unless you have the file that declares the type open in the editor.

As a side note, is there any way you could create separate stable and experimental branches and only publish to Package Control from the stable branch? I really love your SV plug-in, and appreciate very much that you have created this and made it available. However, I rely on this for my work, and it's really disruptive when things suddenly stop working.

Comments (12)

  1. Clams repo owner

    I am not able to reproduce the issue, everything is working fine one my side.

    I also rely on the plugin for my work and use it all day long, so I only push when I'm confident it is working : but I can forget stuff of course ;)

    [edit] I try a new install and still unable to reproduce your problem. Maybe open the console and see if you see any error. And I guess you tried, but just in case : did you close and restarted SublimeText ?

  2. Matthew Humphrey reporter

    Tried rebooting, creating a small project with only a few source files, uninstalling and reinstalling the package - still no context help. There are no error messages in the console.

  3. Clams repo owner

    At startup Sublime Text show a lot of message of plugin loading: do you see

    reloading plugin SystemVerilog.__init__
    reloading plugin SystemVerilog.verilog_align
    reloading plugin SystemVerilog.verilog_completion
    reloading plugin SystemVerilog.verilog_module
    reloading plugin SystemVerilog.verilog_navigation
    

    At this point it seems like something went wrong during the update process and now your SublimeText install is kind of corrupted ...

  4. Matthew Humphrey reporter

    Yes, I see that.

    And regarding corrupted installation, it's not just me experiencing this. Is there some kind of logging I can turn on?

    [EDIT] It just started working. I didn't change anything!

  5. Clams repo owner

    I did a clean install of this version and it is still working for me: correct tooltip, autocompletion after '.' and every other features ... I'll try to add a debug option that you can activate to better understand what is going on.

  6. Clams repo owner

    You should get the new version 2.15.4 now and if you add "sv.debug" = true in your user SystemVerilog.sublime-settings, you should see some stuff in the console: - at startup: [SV:Popup] Plugin Loaded - when hovering the mouse on a word: [SV:Popup.show] Word to show = rif_capture [SV:Popup.get_type] var=rif_capture scope="source.systemverilog meta.module.inst.systemverilog " - when typing . after a word : [SV:on_query_completions] prefix="" previous symbol="." previous word="" line="assign rif_capture." scope=source.systemverilog

  7. Matthew Humphrey reporter

    After updating the package, but before enabling sv.debug, I saw the following in the console:

    zipimport.ZipImportError: bad local file header in C:\Users\mhumphr\AppData\Roaming\Sublime Text 3\Installed Packages\SystemVerilog.sublime-package generating syntax summary Traceback (most recent call last): File "verilog_navigation in C:\Users\mhumphr\AppData\Roaming\Sublime Text 3\Installed Packages\SystemVerilog.sublime-package", line 32, in plugin_loaded AttributeError: 'NoneType' object has no attribute 'reload' generating meta info summary Traceback (most recent call last): File "verilog_navigation in C:\Users\mhumphr\AppData\Roaming\Sublime Text 3\Installed Packages\SystemVerilog.sublime-package", line 32, in plugin_loaded AttributeError: 'NoneType' object has no attribute 'reload' reloading settings Packages/User/Package Control.sublime-settings reloading settings Packages/User/Preferences.sublime-settings Traceback (most recent call last): File "verilog_navigation in C:\Users\mhumphr\AppData\Roaming\Sublime Text 3\Installed Packages\SystemVerilog.sublime-package", line 32, in plugin_loaded AttributeError: 'NoneType' object has no attribute 'reload' reloading settings Packages/User/Preferences.sublime-settings Traceback (most recent call last): File "verilog_navigation in C:\Users\mhumphr\AppData\Roaming\Sublime Text 3\Installed Packages\SystemVerilog.sublime-package", line 32, in plugin_loaded AttributeError: 'NoneType' object has no attribute 'reload'

  8. Matthew Humphrey reporter

    Ok, well like I said above, it mysteriously started working. But now that you have added the debug logging, the next time it happens, I will capture that information and send it along.

    Thanks again for a great plug-in!

  9. Log in to comment