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

I don't know how to resole the lint error i m getting #1559

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hachimetsu
Copy link

@hachimetsu hachimetsu commented Mar 12, 2024

error was in contribution.json ?
lint error

previous pull

changes i did

@hachimetsu hachimetsu requested review from codebytere and a team as code owners March 12, 2024 04:25
@hachimetsu
Copy link
Author

hachimetsu commented Mar 12, 2024

can anyone help me with test:ci

@hachimetsu
Copy link
Author

hachimetsu commented Mar 12, 2024

Screenshot from 2024-03-12 11-32-05

error on test:ci

this.editor.addCommand(
MonacoType.KeyMod.CtrlCmd | MonacoType.KeyCode.KEY_K,
() => {
if (this.model) this.model.setValue('Console Cleared !');
Copy link
Member

Choose a reason for hiding this comment

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

I don't think I'd want a message when clearing the console. 😅

Copy link
Author

Choose a reason for hiding this comment

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

is that mean i m doing right ?
or i m doing something else which is not actually required ?
what if i do if (this.model) this.model.setValue("");

Copy link
Author

Choose a reason for hiding this comment

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

and i did use this this.model.setValue('Console Cleared !'); because i use CTRL+L orCTRL+SHIFT+L
it will move the cursor to the top of the terminal window and clear all the text that was previously displayed.
However, it doesn't erase the command history; you can still scroll up to see previous commands and output.

Co-authored-by: Divyansh Singh <divyanshanandsingh@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants