Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quick fixes in editor #3928

Merged
merged 4 commits into from
Jul 24, 2023
Merged

quick fixes in editor #3928

merged 4 commits into from
Jul 24, 2023

Conversation

Aniket-Engg
Copy link
Collaborator

@Aniket-Engg Aniket-Engg commented Jul 18, 2023

Related to #3927

This PR introduces QuickFixes for:

  • Adding SPDX license
  • Adding pragma line

More quick fixes will be added in upcoming PRs

@netlify
Copy link

netlify bot commented Jul 18, 2023

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 4110969
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/64b9422ff0851d000843af3d
😎 Deploy Preview https://deploy-preview-3928--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Aniket-Engg Aniket-Engg changed the title code action provider for quick fix quick fixes in editor Jul 18, 2023
@Aniket-Engg Aniket-Engg force-pushed the quickfixes branch 2 times, most recently from 9c409ff to 70cf359 Compare July 20, 2023 14:18
@Aniket-Engg Aniket-Engg added ready-to-review PR ready to review and removed WIP labels Jul 20, 2023
@Aniket-Engg Aniket-Engg added the editor Related to code editor label Jul 20, 2023
import { default as fixes } from "./quickfixes"

export class RemixCodeActionProvider implements monaco.languages.CodeActionProvider {
props: EditorUIProps
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use one space as a tab

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the default for TS is 4 spaces

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#3939 sets all to 2 spaces. 1 is not best practice.

Copy link
Collaborator Author

@Aniket-Engg Aniket-Engg Jul 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As linting is being fixed in different PR, can you review again? @LianaHus

@Aniket-Engg Aniket-Engg merged commit bbb12eb into master Jul 24, 2023
8 checks passed
@Aniket-Engg Aniket-Engg deleted the quickfixes branch July 24, 2023 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor Related to code editor ready-to-review PR ready to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants