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

Set default programming language for Code Block #7032

Open
a-irsyad opened this issue Dec 2, 2024 · 1 comment · May be fixed by #7086
Open

Set default programming language for Code Block #7032

a-irsyad opened this issue Dec 2, 2024 · 1 comment · May be fixed by #7086

Comments

@a-irsyad
Copy link

a-irsyad commented Dec 2, 2024

What problem are you facing?

Hi!

I use Code Blocks feature a lot in my notes. Mainly for my Kotlin study.
But it's getting tedious because everytime I insert a code block, I should set the language from "Plaintext" to "Kotlin".

What's the solution you'd like to see in Notesnook?

I reckon it would be seamless if either:
A. Notesnook can remember the last programming language that I used, then use it as the language for the new code block
B. I can set default programming language manually for code block

What alternatives have you considered?

No response

Additional context

No response

@01zulfi 01zulfi linked a pull request Dec 11, 2024 that will close this issue
@coanda45
Copy link

coanda45 commented Jan 7, 2025

I would like to add another feature to this proposal that I would ask also.
Please select the first code that is available by press Enter button.

For instance, if I type "Py" in the language search bar, the result is first Python, then Ren'Py. I would appreciate that Python would be select without using my mouse, just by pressing Enter.

Thanks

Regards,

Fabien

Feature request here : #7284

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 a pull request may close this issue.

2 participants