junstyle / vscode-php-cs-fixer

PHP CS Fixer extension for VS Code
https://marketplace.visualstudio.com/items?itemName=junstyle.php-cs-fixer
MIT License
357 stars 45 forks source link

Development workflow #132

Closed delta1186 closed 4 years ago

delta1186 commented 4 years ago

@junstyle I was hoping you might be able to share a quick development workflow. I was going to look at an issue I am having, but at this point I am not sure if it's an issue with the extension or php-cs-fixer itself.

I am new to extension development. I started with the quick start guide on vscode website. After comparing the default templates you can create using the yo code-generator command I was curious if this project is typescript or js? Also, the template scaffolding does not use webpack and I see you have a web pack file.

Here is my workflow so far:

  1. Forked and cloned your repo
  2. Run npm install
  3. F5 to run debugger, opened a test workspace and ran extension on a php file.

I think that is correct so far, but just not sure when you are using webpack. Also, how are you building extension for production? If I was able to resolve the issue I am having, what actions would you like me to take prior to submitting a PR?

Thanks in advance!

junstyle commented 4 years ago

just git clone , and then open in vscode, npm install or yarn, install node modules then press F5 and debug the codes

the webpack just for publishing this extension, pack files.

delta1186 commented 4 years ago

Perfect that is what I was doing. Thanks for the confirmation!