hwclass / ziya

:pencil2: Your local in-browser editor
MIT License
62 stars 2 forks source link

Newbie questions! #2

Open altaywtf opened 8 years ago

altaywtf commented 8 years ago

Hi @hwclass! πŸ‘―

I've took a general look at the project and I think it'd be a useful tool for developers. I decided to gather my questions under this issue so we'd have an archive about these discussions.

We can discuss the roadmap and features we want to have on the first iteration under this issue or Telegram.

hwclass commented 8 years ago

Hi @altayaydemir,

Thanks for comments and these are the thoughts I have:

1- I am using only the official documentation of Node and so just check the specification from here: https://nodejs.org/api/fs.html. In the other habd, we will be using a method that provides us the client<->server communication by using Server-Sent Events. This means in around every second, we have got the actual state of the directory that we have opened. Additionally, thank you for the tree component and loved it. We only need a github issue to implement this ;)

2- In the first step, we can go on just with a div element but in the future, we will need for formatting and etc. Just keep it ;)

3-Keep it in mind again ;)

4- I do not think of importance in the first phase to provide showing/editing hidden files. We need to learn some OS specification at all.

5-Quality is our must ;) Of course. And I am very happy to work with you ;)

Maybe we need a roadmap now..

Thanks

Barış

asarialtun commented 7 years ago

My 2 questions not about development but about usage of Ziya:

  1. Which languages are supported (or planned) for syntax highlighting?
  2. Can I create a new document from scratch, or save my edits on an existing one? Or is it in read-only mode?
hwclass commented 7 years ago

Hi @asarialtun

Thanks for your question. At this time, since we have been using Codemirror for our inline editor, we are limited with that context but also since the list is really large (fortunately) for languages that are being supported by Codemirror and will be trying to integrate a basic file load management for the CSS files of the languages as well.

For the second one, currently we are not supporting for creating a new document but it would be great to implement. At this time, you can edit and save the existing ones.

asarialtun commented 7 years ago

Hi @hwclass Thank you for your reply. Is there a keyboard shortcut to save existing documents? I couldn't with ctrl+s

hwclass commented 7 years ago

Hmm, we have also supported CTRL + S on Windows but there may be a problem for that. Can you open a new bug issue, our dearest Q/A test specialist, Mr. @asarialtun πŸ‘