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

Enabling the semantic layer shows always *invalid* on the top bar. #14313

Closed
abougouffa opened this issue Jan 21, 2021 · 16 comments
Closed

Enabling the semantic layer shows always *invalid* on the top bar. #14313

abougouffa opened this issue Jan 21, 2021 · 16 comments

Comments

@abougouffa
Copy link

Description :octocat:

Enabling the semantic layer shows always *invalid* on the stickyfunc-like top bar.

Reproduction guide 🪲

  • Start Emacs
  • Add semantic layer to .spacemacs
  • Reload configuration with SPC f e R
  • Restart Emacs
  • Open any .py or .cpp (tested ones, not exclusive to them)
  • Move cursor on different code blocks, functions, classes... etc

Observed behaviour: 👀 💔
For any code block under the cursor, the top bar shows the *invalid* word next to the function/symbol name, see the attached screenshot.

Screenshot_20210121_180202

Expected behaviour: ❤️ 😄
Anything but the *invalid*!

System Info 💻

  • OS: gnu/linux
  • Emacs: 27.1
  • Spacemacs: 0.300.0
  • Spacemacs branch: develop (rev. a65497b)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(erc slack syntax-checking spell-checking
     (languagetool :variables langtool-java-classpath "/usr/share/languagetool:/usr/share/java/languagetool/*" langtool-default-language "en-US")
     auto-completion helm templates helpful ibuffer tabs org mu4e
     (treemacs :variables treemacs-use-all-the-icons-theme t)
     unicode-fonts games common-lisp emacs-lisp gpu sql asciidoc bibtex csv graphviz html json latex markdown plantuml restructuredtext yaml shell-scripts vimscript windows-scripts major-modes ess julia octave ipython-notebook asm lua python rust
     (c-c++ :variables c-c++-default-mode-for-headers 'c-mode c-c++-adopt-subprojects t c-c++-enable-c++11 t c-c++-backend 'lsp-clangd c-c++-lsp-enable-semantic-highlight t c-c++-lsp-semantic-highlight-method 'overlay c-c++-lsp-semantic-highlight-rainbow t c++-enable-organize-includes-on-save t)
     copy-as-format multiple-cursors spacemacs-completion spacemacs-defaults spacemacs-editing spacemacs-editing-visual spacemacs-evil spacemacs-language spacemacs-layouts spacemacs-misc spacemacs-modeline spacemacs-navigation spacemacs-org spacemacs-project spacemacs-purpose spacemacs-visual dash deft elfeed epub pdf speed-reading git version-control colors dap debug docker pandoc prettier ranger sphinx systemd vagrant web-beautify xclipboard lsp
     (cmake :variables cmake-enable-cmake-ide-support t cmake-backend 'lsp)
     (shell :variables shell-default-shell 'vterm shell-default-height 30 shell-default-position 'bottom)
     confluence search-engine)
  • System configuration features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP

Backtrace 🐾

<<BACKTRACE IF RELEVANT>>
@lebensterben
Copy link
Collaborator

This also happens to me

@zjp
Copy link
Contributor

zjp commented Jan 25, 2021

I was just trying to google why this happens. Glad to know others are getting it, I'm sensing that it may be harmless.

@c02y

This comment was marked as resolved.

@lebensterben

This comment was marked as resolved.

@c02y
Copy link

c02y commented Jan 26, 2021

@lebensterben Thanks for the hint, and I found this string of whole line belongs to lsp-headerline-breadcrumb-enable, just set it to nil if anyone wants to hide it, and install all-the-icons otherwise(I didn't try it)

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Jan 26, 2022
@lebensterben lebensterben removed the stale marked as a stale issue/pr (usually by a bot) label Jan 27, 2022
@mmance

This comment was marked as resolved.

@lebensterben

This comment was marked as resolved.

@mmance

This comment was marked as resolved.

Repository owner deleted a comment from github-actions bot Apr 22, 2022
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label May 16, 2023
@spacegoing
Copy link

@lebensterben Thanks for the hint, and I found this string of whole line belongs to lsp-headerline-breadcrumb-enable, just set it to nil if anyone wants to hide it, and install all-the-icons otherwise(I didn't try it)

I installed all fonts but it didn't help. invalid persists. I'm using pylsp backend

@github-actions github-actions bot removed the stale marked as a stale issue/pr (usually by a bot) label Aug 3, 2023
@wordhazard
Copy link

Same issue here. I have all-the-icons installed with the fonts and still see "invalid". I'm using ccls for backend.

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Aug 19, 2024
@smile13241324
Copy link
Collaborator

Still valid, I am also seeing the string invalid, lets see if I can find out where this comes from

@github-actions github-actions bot removed the stale marked as a stale issue/pr (usually by a bot) label Sep 3, 2024
@smile13241324
Copy link
Collaborator

Hmpf this is stickyfunc-enhance I have no idea whether we really need this what I can say is that it is not useful when used together with LSP.

smile13241324 added a commit that referenced this issue Sep 3, 2024
for its unmaintained for 9 years now and is causing
malfunctions in other packages.

Its features are superseded with lsp-breadcrumb mode
anyway so if this feature is missing please switch
to lsp.

See #14313
@smile13241324
Copy link
Collaborator

I have removed stickyfunc-enhance now as it is unmaintained for around 9 years now and is causing a lot of side effects in other modes. In addition its features are superseded by lsp-breadcrumb mode anyway so if this feature is missing please switch to a maintained LSP server.

@smile13241324
Copy link
Collaborator

This has removed the invalid tag for me in all lsp sessions.

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

No branches or pull requests

8 participants