GithubHelp home page GithubHelp logo

deakjahn / vscode-php-allfactor Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 26 KB

Comprehensive PHP refactoring (Visual Studio Code)

Home Page: https://marketplace.visualstudio.com/items?itemName=tramontana.php-allfactor

php refactoring vscode-extension

vscode-php-allfactor's People

Contributors

deakjahn avatar

Stargazers

 avatar

Watchers

 avatar

vscode-php-allfactor's Issues

Not able to get string interpolation conversion to work

I'm not sure where to find the command to do this. It doesn't seem to show up in the context menu or the shortcut for refactoring. Not sure what I'm missing.

Also, I wanted to see what your plans are for this plugin. This is honestly the best plugin to bridge the gap for VS Code to compete with other IDE's, so if there's anything I can offer to help, I'm game!

Version 1.3.5 - Code Action does not work

Hi,

I am not sure why the refactoring in version 1.3.5 using the code actions does not seem to work anymore.

Original code:

Screenshot_18a

Refactored code after using Code Action for "if"

Screenshot_19

Can logs be more descriptive?

Greetings!

I'm facing an issue with the extension in my project, I have tried to reproduce it in other projects without success. It's not working at all, it just doesn't show the refactor options. The only Info I have about the issue are these logs, which tell me nothing:

[Info - 8:50:08 AM] started php-allfactor 1.3.5
[Error - 8:50:12 AM] [object Object] [Doc]
[Error - 8:50:12 AM] [object Object] [Doc]
[Error - 8:50:12 AM] [object Object] [Doc]
[Error - 8:50:12 AM] [object Object] [Doc]
[Error - 8:50:12 AM] [object Object] [Doc]
[Error - 8:50:13 AM] [object Object] [Doc]
[Error - 8:50:13 AM] [object Object] [Doc]
[Error - 8:50:13 AM] [object Object] [Doc]
[Error - 8:50:13 AM] [object Object] [Doc]
[Error - 8:50:13 AM] [object Object] [Doc]
[Error - 8:50:13 AM] [object Object] [Doc]
[Error - 8:50:13 AM] [object Object] [Doc]
[Error - 8:50:13 AM] [object Object] [Doc]
[Error - 8:50:13 AM] [object Object] [Doc]
[Error - 8:50:13 AM] [object Object] [Doc]
[Error - 8:50:13 AM] [object Object] [Doc]
[Error - 8:50:13 AM] [object Object] [Doc]
[Error - 8:50:13 AM] [object Object] [Doc]
[Error - 8:50:14 AM] [object Object] [Doc]
[Error - 8:50:14 AM] [object Object] [Doc]
[Error - 8:50:14 AM] [object Object] [Doc]
[Error - 8:50:14 AM] [object Object] [Doc]
[Error - 8:50:14 AM] [object Object] [Doc]
[Error - 8:50:14 AM] [object Object] [Doc]
[Error - 8:50:15 AM] [object Object] [DU]
[Error - 8:50:15 AM] [object Object] [DU]
[Error - 8:50:15 AM] [object Object] [Doc]
[Error - 8:50:15 AM] [object Object] [Doc]
[Error - 8:50:17 AM] [object Object] [Doc]
[Error - 8:50:18 AM] [object Object] [Doc]
[Error - 8:50:21 AM] [object Object] [Doc]
[Error - 8:50:21 AM] [object Object] [Doc]
[Error - 8:50:51 AM] name [Doc]
[Error - 8:50:51 AM] array [Doc]
[Error - 8:50:51 AM] name [Doc]
[Error - 8:50:51 AM] array [Doc]
[Error - 8:50:51 AM] name [Doc]
[Error - 8:50:51 AM] original [Doc]
[Error - 8:50:51 AM] name [Doc]
[Error - 8:50:51 AM] original [Doc]
[Error - 8:50:52 AM] source [Doc]
[Error - 8:50:52 AM] source [Doc]
[Error - 8:50:52 AM] type [Doc]
[Error - 8:50:52 AM] type [Doc]
[Error - 8:50:52 AM] TypeError: Cannot read properties of null (reading 'kind') [Analyze]

I think just by having better logs we can find the issue, at least, returning the objects in string instead of directly logging them.

If you have any suggestion to make it work for my project, I'll appreciate it.

Thanks for the help beforehand, and also many thanks for your work in this extension!

More data:

  • Extension version: 1.3.5
  • OS: Linux Deepin 20 kernel 5.18.17-amd64-desktop-hwe
  • VSCode version: 1.84.2
  • Framework used in the project: WordPress 5.9.2

Add possibility to exclude directories

Description:

I've faced the issue when extension can not be started because of lack of permissions:
image

It will be nice to have a possibility to exclude some directories by patterns from analysis as it is for intelephense.

Ability to disable some features

Description:
I would like to disable some features of the extension, if I have another one that does the same better (as rename feature for example).
Is it possible to do so(at least for the time the extension is in early development period)?

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.