Skip to content

Commit

Permalink
Merge branch 'master' of github.com:vknabel/vscode-swiftlint
Browse files Browse the repository at this point in the history
  • Loading branch information
vknabel committed Jun 22, 2024
2 parents e61cfd5 + 268d4f0 commit dc1a963
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Contributing

First of all, thanks for considering to improve Swift support for Visual Studio Code!
In general most of these extensions are created similarly and share the general architecture.

- [vscode-swiftlint](https://github.com/vknabel/vscode-swiftlint)
- [vscode-swiftformat](https://github.com/vknabel/vscode-swiftformat)
- [vscode-apple-swift-format](https://github.com/vknabel/vscode-apple-swift-format)

## Architecture

Each of these project above have the following, central files. Many of them are shared, but might differ between extensions. When fixing bugs, it might make sense to replicate them to different extensions.

- extension.ts acts as the entrypoint for the extension.
- Current.ts mostly encapsulating external dependencies for system and vscode access.
- UserInteraction.ts which handles alerts and displaying error messages.
- some *Provider.ts representing the core of the extension.
- execShell.ts provides a platform independent way for shell access.

## Releasing

If you want to release an update to this extension, follow these steps:

1. Commit the new version number to the `package.json`.
2. Create an according release tag in the form of vX.X.X.
3. Create a release on GitHub for the tag with autogenerated release notes.
4. A new release build should automatically start off.

0 comments on commit dc1a963

Please sign in to comment.