Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

can't use puppet ctags #244

Open
1 task done
droopy4096 opened this issue Feb 20, 2019 · 2 comments
Open
1 task done

can't use puppet ctags #244

droopy4096 opened this issue Feb 20, 2019 · 2 comments

Comments

@droopy4096
Copy link

Prerequisites

Description

symbols-view does not work well with Puppet code

Steps to Reproduce

  1. create a puppet module with sub-modules
  2. reference sub-module someplace:
    include my_module::submodule
  3. move cursor to be within my_module
  4. try to jump to definition of the symbol

Expected behavior: [What you expect to happen]

one would expect to get reference to my_module::submodule

Actual behavior: [What actually happens]

atom suggests "my_module" as a reference (and not the my_module::submodule)

Reproduces how often: [What percentage of the time does it reproduce?]

always

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Atom : 1.34.0
Electron: 2.0.16
Chrome : 61.0.3163.100
Node : 8.9.3

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

@rsese
Copy link

rsese commented Feb 21, 2019

Thanks for the report @droopy4096 - can you share a minimal example so we can reproduce?

@droopy4096
Copy link
Author

https://gist.github.com/droopy4096/cf5ed9254d9ac76cdee4f395528ad06c
is a sample.
I've ran ctags -R --language-force=puppet . to generate "tags" file. After which using either keyboard shortcuts or commands from palette does virtually nothing when cursor is over "foo::bar" in foo.pp . When cursor is over the "foo" portion of it - editor jumps back to the "foo.pp" file it seems. but that is it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants