So you have fastn
, and you are eager to start writing some ftd
code. But before that let’s setup a decent programming editor. Programs are written in “plain text” files. Editing plain text files is usually done best with special text editors. We have many to chose from, old timers use ViM or Emacs. Then there are VSCode and Jetbrains family of editors. These editors not only are quite good at editing text files, they also come with a plathora of features, like file browser that lets you easily see all the files in your “project”, tools like Find and Replace to quickly find things across your files, and do mass replace, which can be handy if you change your mind about name of something for example.
Some of these editors also come with programming language specific tools, which let you perform operations related to specific tasks in that language etc. Some of these are also called “Programming IDEs”, integrated development environments.
This can be a lot if you are getting started. We recommend an editor called SublimeText. This is how it looks like on my machine:Notice how you can see the content of the file being edited, the name of the file is editor.ftd
. You can also see a bunch of tabs, other files like install.ftd
, terminal.ftd
and FASTN.ftd
are also open as tabs. Further notice the left hand side containing all the files and folders present in the “package” I am editing.
One particular thing you would notice is that some of the text are colored, e.g. in the first line, you see the word import
is in orange color, and the text after the :
is in green color. These coloring, or “highlights”, are based on rules of the language, in this case we are editing a ftd
file, so the highlight is based on ftd
. They are also called “syntax highlighting”, as they let you see different parts of “syntax” clearly.
As you can see there are a lot of tiny red colored “squigly lines”, informing the editor that something is wrong. This is CLion
, an editor from the JetBrains
family of editors.
ftd
/fastn
, but we are working on it.ftd
in SublimeTextftd
yet. We have written a guide to enable syntax highlighting in SublimeText.Have a question or need help?
Visit our GitHub Q&A discussion to get answers and subscribe to it to stay tuned.
Join our Discord channel and share your thoughts, suggestion, question etc.
Connect with our community!We welcome you to join our Discord community today.
We are trying to create the language for human beings and we do not believe it would be possible without your support. We would love to hear from you.