Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 19 01:08
    harry14jazz opened #509
  • Nov 03 13:00
    MailosT opened #508
  • Oct 31 14:52
    juliandrv opened #507
  • Oct 30 16:16
    joernchen synchronize #497
  • Oct 29 11:20
    joernchen commented #497
  • Oct 29 10:01

    renovate[bot] on tslint-6.x

    (compare)

  • Oct 29 10:01

    renovate[bot] on typescript-4.x

    chore(deps): update dependency … (compare)

  • Oct 29 10:00
    renovate[bot] synchronize #463
  • Oct 29 10:00

    renovate[bot] on semver-7.x

    chore(deps): update dependency … (compare)

  • Oct 29 09:59
    renovate[bot] synchronize #468
  • Oct 29 09:59

    renovate[bot] on major-semantic-release-monorepo

    chore(deps): update dependency … (compare)

  • Oct 29 09:58
    renovate[bot] synchronize #480
  • Oct 29 09:58

    renovate[bot] on prettier-2.x

    chore(deps): update dependency … (compare)

  • Oct 29 09:57
    renovate[bot] synchronize #466
  • Oct 29 09:57

    renovate[bot] on husky-4.x

    chore(deps): update dependency … (compare)

  • Oct 29 09:57
    renovate[bot] synchronize #464
  • Oct 29 09:57

    renovate[bot] on execa-4.x

    chore(deps): update dependency … (compare)

  • Oct 29 09:56
    renovate[bot] synchronize #462
  • Oct 29 09:56

    renovate[bot] on mz-2.x

    chore(deps): update dependency … (compare)

  • Oct 29 09:55
    renovate[bot] opened #506
Felix Becker
@felixfbecker
It’s read into memory from a cache file
Stuardo -StR- Rodríguez
@str
@felixfbecker OK, then it will be easier.
@felixfbecker What about the rest of the ideas?
Felix Becker
@felixfbecker
am I correct that your idea are basically “explicit indexing instead of automatic indexing"
not sure if that’s a good default
Stuardo -StR- Rodríguez
@str
Right
Felix Becker
@felixfbecker
it would be very annoying for small projects
Stuardo -StR- Rodríguez
@str
What about a flag to turn on/off auto/explicit?
so, for small projects it will be beter auto , and for very big ones, explicit
Currently, it's very annoying to have to wait 10 mins every time I switch projects.
Stuardo -StR- Rodríguez
@str
@felixfbecker I'm checking the other most used PHP intellisense plugin (Crane) and It does have the enableCache flag, and it's even true by default.
Felix Becker
@felixfbecker
Feel free to do a PR
Stuardo -StR- Rodríguez
@str
@felixfbecker folding a function with a heredoc string, does not work. It folds the code inside the function until before the first line of the string. Is that a bug related to the plugin or to the language-server?
Felix Becker
@felixfbecker
what do you mean with folding?
vscode code folding?
that is indentation based, not handled by this plugin
Stuardo -StR- Rodríguez
@str
Yes, vscode folding
Stuardo -StR- Rodríguez
@str
@felixfbecker now I see what you meant: Microsoft/vscode#3422
Stuardo -StR- Rodríguez
@str
The find-all-references for a private property, does not work, right?
Kashin Chiao
@Kashin-J
It looks like vscode-php-intellisense does not support multiple projects in Multi-root Workspaces but https://github.com/bmewburn/intelephense is supported and is this a bug?
Dean Nicholls
@DeanNonatomic
Hi guys, is there a way to stop intellisense suggestions when writing html in a php file?
Tejas H
@CodingCreate101
Yeah. It's annoying right?
I would like to know if there is anything we can do about it.
Jari Pennanen
@Ciantic
Is absolute path include supported?
Jari Pennanen
@Ciantic
Noting this here:
so I can remember it again :)
Jari Pennanen
@Ciantic
    public function index(): Promise
    {
        return coroutine(function () {
            $pattern = Path::makeAbsolute('**/*.php', $this->rootPath);
            $uris = yield $this->filesFinder->find($pattern);

            // CIANTIC Fixes things for good
            if (preg_match("#wp-content[\\\\/]themes#", $this->rootPath)) {
                $this->client->window->logMessage(MessageType::INFO, "My WordPress themes should have stuff from here!");
                $this->composerLock = json_decode(file_get_contents("file:///C:/DepSource/WP/composer.lock"));
                $this->composerJson = json_decode(file_get_contents("file:///C:/DepSource/WP/composer.json"));
                $this->client->window->logMessage(MessageType::INFO, "test" . var_export($this->composerLock, true) . var_export($this->composerJson, true));
                $uris = array_merge($uris, yield $this->filesFinder->find('C:/DepSource/WP/**/*.php'));
            }
found a cool way to hack this
so I got a cache working too
Natta Wang
@xenogew
Sorry guys, but I need suggestion.
I working in a PHP project which run by PHP5.6 runtime.
And I just started to use VS Code with php-intellisense plugin and it said that it need PHP7 runtime at least.
Can I install PHP7 runtime for plugin but work with my PHP5.6 project?
Will it cause any problems or has it kinds of setting something to work with?
My dev environment
Windows 10
XAMPP with PHP5.6 runtime
Tejas H
@CodingCreate101
I don't think it does. You can install two different versions and use specific version for specific task. However, you need to specify that in respective application.
Jon Franchi
@JonFranchi
Am I supposed to see something in the output after it loads? I don't see anything in the documentation about it, but others reference indexing notices. I get nothing, ever, and no error messages. Attempts to search definitions just search forever.
Felix
@gtfcugb
hi why this is a error? alt
alt
Felix
@gtfcugb
Filipe Luis 
@flschaves_twitter
hey guys, i just installed vscode and php intellisense, but can't go to definition in any function or class
already set php.executablePath to my php7 executable
jsninoc
@jsninoc
Hi
I do not see the abbreviations of this extension, what should I do? I already have PHP added to my PATH and I also have php.suggest.basic in false
Herbert Pimentel
@herbertpimentel
Jsninoc
@jsninoc check your console on vs code
Steven De Groote
@stevendegroote

I'm giving VS code a spin with PHP, but am sadly unable to get code completion / intellisense to work. At startup, I get this error:

[Error - 19:15:37] Server initialization failed.
Message: UnexpectedValueException: RecursiveDirectoryIterator::__construct(g:/webroot/f1technical11\resources\node_modules\grunt-contrib-cssmin\node_modules\maxmin\node_modules\pretty-bytes\node_modules\meow\node_modules\normalize-package-data\node_modules\validate-npm-package-license\node_modules\spdx-expression-parse\node_modules,g:/webroot/f1technical11\resources\node_modules\grunt-contrib-cssmin\node_modules\maxmin\node_modules\pretty-bytes\node_modules\meow\node_modules\normalize-package-data\node_modules\validate-npm-package-license\node_modules\spdx-expression-parse\node_modules): The system cannot find the path specified. (code: 3) in C:\Users\Steven De Groote.vscode\extensions\felixfbecker.php-intellisense-2.3.3\vendor\webmozart\glob\src\Iterator\RecursiveDirectoryIterator.php:43
Stack trace:

#0 C:\Users\Steven De Groote.vscode\extensions\felixfbecker.php-intellisense-2.3.3\vendor\webmozart\glob\src\Iterator\RecursiveDirectoryIterator.php(43): RecursiveDirectoryIterator->construct('g:/webroot/f1te...', 4128)

#1 C:\Users\Steven De Groote.vscode\extensions\felixfbecker.php-intellisense-2.3.3\vendor\webmozart\glob\src\Iterator\RecursiveDirectoryIterator.php(55): Webmozart\Glob\Iterator\RecursiveDirectoryIterator->
construct('g:/webroot/f1te...', 4128)

#2 [internal function]: Webmozart\Glob\Iterator\RecursiveDirectoryIterator->getChildren()

#3 C:\Users\Steven De Groote.vscode\extensions\felixfbecker.php-intellisense-2.3.3\vendor\webmozart\glob\src\Iterator\RegexFilterIterator.php(130): FilterIterator->next()

I've tried disabling and re-enabling the plugin, but to no avail.
Any suggestions would we welcome!

Mahfudin
@watdefud
hello , i am install ext php intellisence but error "PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting" , now im use UbuntuDDE. how to fix this ? thanks .
Walter Nuñez
@arcanisgk
You need to install the php5-cli or php5-cgi package.
type "whereis php"
you got like this php: /usr/bin/php7.1 /usr/bin/php7.0 /usr/bin/php /usr/bin/php7.2 /usr/lib/php /etc/php /usr/include/php /usr/share/php7.1-opcache /usr/share/php7.2-zip /usr/share/php7.0-intl /usr/share/php7.1-common /usr/share/php7.0-gd /usr/share/php7.2-common /usr/share/php7.1-gd /usr/share/php7.1-xmlrpc /usr/share/php7.2-intl /usr/share/php7.2-mysq
get and check the path to the executable or your version