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.

Declaration and usages

See original GitHub issue

It would be great if we could find usages from .env file and find declaration from getenv('SOME_ARGUMENT') argument. Just like how we find usages and declarations of methods.

The example is in Symfony plugin: there you can move from service name to class and backwards.

Thank you for great plugin anyway 👍

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
adelfcommented, Apr 22, 2017

implemented in 0.2

1reaction
adelfcommented, Mar 25, 2017

Thanks. I was thinking about it, but to implement Go to declaration I have to teach PhpStorm to work with .env files. Create syntax lexer and grammar. It’ll take some time, but I’ll try to do it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Declaration Definition & Meaning - Merriam-Webster
The meaning of DECLARATION is the act of declaring : announcement. How to use declaration in a sentence.
Read more >
Go to Declaration | JetBrains Rider Documentation
Navigate | Go to Declaration or Usages. F12. Use this command to navigate to the declaration of a symbol from any symbol usage....
Read more >
Declaration (computer programming) - Wikipedia
In computer programming, a declaration is a language construct specifying identifier properties: it declares a word's (identifier's) meaning.
Read more >
6.2.1. Function Definitions and Declarations
A declaration "introduces" the variable's name to the compiler, which enters the name into its symbol table. Variable definitions are essential programming ...
Read more >
Declarations and definitions (C++) - Microsoft Learn
A declaration specifies a unique name for the entity, along with information about its type and other characteristics. In C++ the point at...
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