bzrncev / intellij-parameter-hints Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Performance
intellij-parameter-hints
0.3.0
Windows_NT x64 10.0.19041
1.46.1
C:\Users\jonas\BobbyZrncev.intellij-parameter-hints-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
It would be great to have this extension available in the Open VSX Registry (https://open-vsx.org/) so it can be used with VSCodium.
Hi, first of all I wanted to thank you for making this nice extension. I just started using it, and it looks really nice!
I noticed a bug when I pass the concatenated string to a function/method - hint is placed in wrong position
Here is the minimal example to recreate the bug, and I've attached the screenshot of the result
<?php
function test($text)
{
return $text;
}
test('a'.'b'); // works
test('a'.'b'.'c'); // hint after `'a'`
test('a'.'b'.'c'.'d'); // hint after `'b'`
Expected result: text:
is always at the beginning
Actual result text:
is inserted between the concatenated string
Let me know if you need any additional info
I love the plugin. But when I click on the file I see slowness to load the parameters hints. It's bug?
I think adding other languages than PHP would be really great. IntelliJ parameter hints are not PHP exclusive. I personally would be really interested in C# and Python
I was just delighted to find this extension. Thank you for creating it!
It is working fine, but every time I switch between files, there is a 4-11 second delay before the hints show up.
With one file it doesn't sound like a big deal, but when switching between files a lot, it's quite disturbing. :)
What am I doing wrong?
Thanks in advance.
Edit:
These are averages (using six tests each) across different file sizes
367 lines 10.24s
421 lines 7.68s
133 lines 5.31s
72 lines 4.30s
VS Code Version: 1.47.0
Framework : Laravel PHP 7
Theme : One Dark Pro
For some reason after installing the extension, the parameter hints aren't showing up.
The hints should keep working after put an or die('message')
statement.
The hints have disappeared from the line that calls or die('message')
.
Not tested with functions/statements with similar syntax.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.