INWTlab / inwt-python-ide

Extension pack for vscode.
0 stars 0 forks source link

Create extension pack "inwt Python IDE" #1

Open chamaoskurumi opened 10 months ago

chamaoskurumi commented 10 months ago
chamaoskurumi commented 10 months ago

We should check these out https://github.com/microsoft/vscode-python/wiki/Migration-to-Python-Tools-Extensions

chamaoskurumi commented 9 months ago

What do we actually need?

VSCode extensions needed

Settings

wahani commented 9 months ago

I removed the smart execute logic and also most of the extensions from the bundle. When we start to configure ruff, black and so on, we have to check if this is now possible using configurationDefaults:

image

Maybe with this we do not need to create a settings.json after all.

Also we now have a gh action to publish the extension. This happens as soon as we create a tag on gh.

chamaoskurumi commented 9 months ago

I added python-indent KevinRose.vsc-python-indent to the list above

wahani commented 9 months ago

Did a first release. Had to strip some more configuration to get there. But also verified the gh action works: https://marketplace.visualstudio.com/items?itemName=inwtlab.inwt-python-ide-v2

wahani commented 8 months ago

@chamaoskurumi do we actually need python-indent when we autoformat at the same time?

chamaoskurumi commented 8 months ago

Well I trusted the author of python-indent when he says

image

But tbh I didn't try it out, maybe this information is outdated and python-indent is not needed.

chamaoskurumi commented 8 months ago

Besides, I tried to updated the npm packages in this branch, but unfortunately it created all sorts of problems. We either accept that we work with (very) old package versions or we need to update one by one to see how far we get without breaking things.

wahani commented 8 months ago

Besides, I tried to updated the npm packages in this branch, but unfortunately it created all sorts of problems. We either accept that we work with (very) old package versions or we need to update one by one to see how far we get without breaking things.

Since they are only relevant for development and we do not need them for the extension, I would leave them as they are. If you want to follow that road, I would start from scratch, following https://code.visualstudio.com/api/get-started/your-first-extension for an extension pack, and simply update/copy the contents from the package.json.

wahani commented 8 months ago

Well I trusted the author of python-indent when he says

I went through some of the examples and I think with autoformatting, there is not much you gain. Also some of the mentioned tickets are closed, because they have become part of pylance and got implemented.

chamaoskurumi commented 1 month ago

@wahani I guess we can close this issue, since all relevant python extensions were included in the inwt Python IDE v2 already, right? (I'm referring to these extensions here )

wahani commented 1 month ago

I think the doc string extension is missing.