Support of types with dots in their name
See original GitHub issueI have a rather large codebase using EmmyLua annotations, and some types have dots (.
) in them.
It seems IntelliJ-Luanalysis doesn’t support that.
This is quite useful when adding annotations to third-party libs for instance.
Example with a Penlight function:
--- Return a list of all file names within an array which match a pattern.
--- Raise dir and mask must be strings
--- @param filenames table|pl.List An array containing file names.
--- @param pattern string A shell pattern.
--- @return pl.List List of matching file names.
function dir.filter(filenames, pattern) end
This fails with the first @param type since the dots isn’t recognized as part of the type name. Same with the return type.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Support metrics with dots in their names · Issue #347 - GitHub
Initial investigation of the issue shows that some metric names are problematic and conflict with metrics storage. This issue has been opened in...
Read more >Diacritic - Wikipedia
In Gaelic type, a dot over a consonant indicates lenition of the consonant in question. In other alphabetic systems, diacritics may perform other...
Read more >Trailing Dots in Domain Names
When I double-click a Bonjour (DNS-SD) Name in a web browser like Safari, the resulting URL has a hostname with a dot at...
Read more >What are those dots called and how many of them are there ...
Those little dots often found in a sentence or quote are called an ellipsis. The term ellipsis comes from the Greek word meaning...
Read more >Points, Dots, And Lines: The Elements Of Design Part II
What we can draw is a dot. In fact dots are the building blocks of everything else. Any other mark we make can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well it definitely worked at some point, because the annotations were working just fine, so I guess there was a regression some time? Not sure I could tell you when though 😦
Instead of trying to retroactively reserve
.
, can.
continue to be allowed as part of a class name and instead just reserve a different character for literal indexing (#
comes to mind, which is used in java) ?