GithubHelp home page GithubHelp logo

phpactor / indexer-extension Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 482 KB

Library / Extension to enable indexing and querying of a project's workspace

License: MIT License

PHP 99.72% Shell 0.28%

indexer-extension's Introduction

Phpactor

phpactor2sm

CI

This project aims to provide heavy-lifting refactoring and introspection tools which can be used standalone or as the backend for a text editor to provide intelligent code completion.

Installation

Phpactor is a general tool, it is not intended that it be installed as a project dependency.

See Installation for installation instructions.

Requirements

Project Recommendations

Phpactor will perform better with Composer and, to a lesser extent, with GiT.

Documentation

Full documentation can be found on Read the Docs

Community

  • Follow @phpactor on ๐Ÿฆฃ Mastodon for latest news.
  • Join the #phpactor channel on the Slack Symfony Devs channel.

Contributing

This package is open source and welcomes contributions! Feel free to open a pull request on this repository.

Support

  • Create an issue on the main Phpactor repository.
  • Join the #phpactor channel on the Slack Symfony Devs channel.

Sponsors

The following organisations are providing either financial support or free services. If you would like to support Phpactor development financially you can sponsor me.

Tinkerwell

Tinkerwell

Blackfire

Blackfire

indexer-extension's People

Contributors

blademf avatar camilledejoye avatar dantleech avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

indexer-extension's Issues

exclude_pattern

I'd like to exclude all my var folder from being indexed. Thus, my .phpactor.json settings are:

{
    "language_server_completion.trim_leading_dollar": true,

    "navigator.destinations":
    {
        "unit_test": "src/Domain/Tests/<kernel>Test.php",
        "mother": "src/Domain/Tests/<kernel>Mother.php",
        "source": "src/Domain/<kernel>.php"
    },

    "navigator.autocreate":
    {
        "unit_test": "default",
        "mother": "default",
        "source": "default"
    },

    "indexer.exclude_patterns": [
        "/vendor/**/Tests/**/*",
        "/vendor/**/tests/**/*",
        "/vendor/composer/**/*",
        "\/var\/**\/*",
        "/var/*",
        "var/*"
    ]
}

As can be seen, I've already tried with several paths, but it's still suggesting me references from the var/cache dir. Am I doing anything wrong?

Bump thecodingmachine/safe to the latest version.

I been using the VIM plugin for phpactor. Today had some places where I wanted to use the thecodingmachine/safe package and had errors about redeclared versions of functions.

Downgrading to the current version in this file worked just fine. but since v1.1.2 there have been some bug fixes.

extra comma

$container->register(FileListProvider::class, function (Container $container) {
return new FilesystemFileListProvider(
$container->get(self::SERVICE_FILESYSTEM),
$container->get(self::SERVICE_INDEXER_INCLUDE_PATTERNS),
$container->get(self::SERVICE_INDEXER_EXCLUDE_PATTERNS), //extra commma here
);

php7.3 allows it but it's a breaking change for people who have to develop on php7.1. Also please update the phpactor docs requirements for vim to require 7.3+ as well as the :PhpactorStatus

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.