NegiAkash890 / editor-frontend

Online Code Compiler Frontend Repository
https://editor.akashnegi.in/
17 stars 12 forks source link

Adding Feature of Code Highlighting #11

Closed ManavSarkar closed 2 years ago

ManavSarkar commented 2 years ago

Code Highlighting is a very important feature of a good IDE. There are lots of code highlighters that can be integrated here.

NegiAkash890 commented 2 years ago

Can you share some examples ?

ManavSarkar commented 2 years ago

Sorry for the late reply. I was on some other project. Hope you don't mind. I have some links here that work as a

  1. Ace
  2. Monaco
  3. EditArea

code editor and work seamlessly. I have an example of the Ace code editor that I integrated into a normal Node js site. It has also auto code completion. 60

Thank you

NegiAkash890 commented 2 years ago

Hi @ManavSarkar . We already have a dependency in package.json react-syntax-highlighter . Let me know if you can do something with that or else you can do it the way you are planning.

NegiAkash890 commented 2 years ago

Sorry for the late reply. I was on some other project. Hope you don't mind. I have some links here that work as a

1. [Ace](https://ace.c9.io/#nav=embedding)

2. [Monaco](https://microsoft.github.io/monaco-editor/)

3. [EditArea](https://www.cdolivet.com/editarea/)

code editor and work seamlessly. I have an example of the Ace code editor that I integrated into a normal Node js site. It has also auto code completion. 60

Thank you

Any updates so far ?

aakankshabhende commented 2 years ago

Any update? @ManavSarkar

Rishi-121 commented 2 years ago

Can I work on this feature?

NegiAkash890 commented 2 years ago

Can I work on this feature?

Yea sure assigning you this issue.

Rishi-121 commented 2 years ago

Added the feature...just check the pull request.

Hope you will like it, 😊

Apart from that, if there is no output then the clear_console button will not be visible. I have added this feature.

For each modification, I have attached the screenshots in the PR.

PR #29

NegiAkash890 commented 2 years ago

Closed by #29