Hello … I NEED HELP !
I need to know the work mechanism of Atom , i mean how does it works from inside “from compiler side for example” and if there are other sides can you explain them for me ?
Hello … I NEED HELP !
Atom is built on Electron, and that Node.JS
thank you … but if you can give me more details about how does atom works
What specific issue are you having difficulty with?
i have a presentation about notepad++ vs Atom …and i want to talk about for example how the code in
atom text editor compiled what does the atom use to compile codes with different types of programming languages ?
Atom doesn’t run / compile code. You must be using a third party package to do that.
ok if it doesn’t compile codes "compile by install packages " what does it do then?
how can atom install packages and from where and other things ?
does my question is unclear ?
Atom allows you to type text into it and save that text as files on your computer. Atom will highlight anything it has a language package for, keeps track of live changes to files and updates open files as needed, displays the current project and the git status of files, and has an API that essentially allows packages to do anything.
how can atom install packages
Atom comes with a program called Atom Package Manager (APM) which downloads and installs packages for you. Packages are structured as NPM packages and APM is very similar to NPM in terms of features.
does my question is unclear ?
Yes, very. You keep using phrases like “other things” that don’t provide us with any information about what exactly you are seeking to understand. Let’s start from the beginning: what is the purpose of your presentation? Is it a subject matter you chose? Is it for school? Work? If it’s for school, then I do not think it is a good subject matter to give a presentation on. The meaningful differences between Notepad++ and Atom are quite boring for most people. If you are doing it for a class where the presentations are supposed to be boring to most people, then you should talk about Atom’s API and you should pick out a small number of specific packages to describe in detail as examples of the kind of flexibility and power that Atom gives to its users.
THANK YOU for explaining >> I don’t use it that’s why i keep use word things , i don’t know what does it contain … i’m a programming computer student and i decide to talk about this subject “for school " because we used notepad++ before as a code editor , and now i want to give more information " DETAILS”…
YES ! i want from you to describe atom’ API and if you can chose one of most important package to tell
me about more with details " the same way how you described "how atom install packages " . that’s what i want !
what’s the structure of atom ?
project-viewer constantly) and even separate distributions designed for specific purposes (Nuclide, Juno, and PlatformIO). When you install it, Atom will let you edit files, it will highlight a few languages, and it can do normal editor things, but not much else. Once you dive into the package ecosystem and figure out what you want your editor to be, then it can run code for you or tell you your battery status or anything else you want to know or automate. And Atom has (mostly) great documentation about how to make it do things.
Thank you very much … now i decide what parts of atom i want to talk about it …i couldn’t find what i want on internet with details and i have many questions can you help me answering them … and i’m sorry if i bothered you
I can answer most of your questions.
thank you …
Q1- if you can tell me 5 disadvantages and advantages of using atom from the point of view of the programmers ?
Q2- I want to explain one of packages called " gpp - compiler " package which run c/c++ code … if you have more information about it … "if you know other package with details i can talk about it "
Q3- did you heard about Gingw software ? i had to download it when i installed gpp-compiler package? why?
TL;DR Basically, the package doesn’t do any compilation itself. It just adds a command to Atom that calls the compiler installed on your computer when you trigger it.
This is almost always true for everything, even other editors. @idleberg posted a link about the UNIX philosophy in a similar thread asking about beautifying LaTeX. The asker wondered whether they needed
atom-beautify, given that the actual program that did the leg work was completely separate and could be run manually.
The answer is that using the
atom-beautify package is more convenient. It doesn’t add ground breaking functionality, but it unifies beautification of any and all supported languages under one easy to use, in-editor interface.
In fact, it’s exactly the same with the
gpp-compiler package. Behind the scenes, it’s just using the command line executable. The reason it’s good is because you don’t have to fiddle around with these commands yourself. You can also set up more complicated behaviours, which can be useful.
Everything I said here also applies to Notepad++. Like Atom, Notepad++ does not know how to compile code. It just knows how to call the executable you have installed that does.
MinGW is needed for the compilation. From it’s homepage:
- A port of the GNU Compiler Collection (GCC), including C, C++, ADA and Fortran compilers;
- Atom comes without most of the features that people associate with IDEs. It can’t run code by itself, and you have to search through the package registry to find what you need.
- Because packages can do anything they want, downloading a package that contains malicious code could potentially compromise your work.
- Because packages are mostly community-driven, they can and do get abandoned. It’s possible that the person who made your favorite package will disappear or stop being able to support it.
init.coffee. For example, the following code is all you need to tell Atom how to force a log file to keep scrolling down as new content is added:
atom.workspace.observeTextEditors (editor) -> editor.onDidChange -> if not editor.isModified() and editor.getTitle() is "log.txt" then editor.moveToBottom()
- Atom’s flexibility makes it easier for more people to make packages. While this can have negative effects when it comes to the quality of some packages, it also means that the barrier to entry is lower for people with good ideas.
- Since Atom includes Node, package authors can make use of the wide array of libraries available as modules through NPM. Frequently, creating a new feature for Atom just consists of taking an existing module and connecting its functions to Atom commands and UI elements.
- All packages are open-source with code available on GitHub, so it’s possible (and relatively easy) to read and edit all code that you put into Atom. If you have particularly strict requirements, you are completely free to clone and edit every package you use, even the core packages.
- Atom does not hold your hand very much and it has some substantial barriers to using it to its fullest potential that can be overcome by learning new things. However, for the programmer who wants to have the option to learn the ins and outs of the editor and make it their own, Atom offers a lot of options. Now that I know how it works, it is fairly easy for me to make significant changes. For most other pieces of software, I would not have that power. I know this sounds like #1, but it’s not just about the API. I could turn Atom into a 3D modeling program if I really wanted to and spent the time to learn how to do it. In theory, anything meant to work on a web site will work in Atom. Video player? Sure. Video game? Why not? The only limits are your imagination and your computer’s resources.
Because Windows doesn’t include the compiler tool
g++. On Mac, you’d download Xcode, and virtually every version of Linux includes it by default.
Thank you very much … you said in one of your sentences , that when you want to edit a file quickly you use N++.
do you have answers of my questions but this time about notepad++
You said that you had previously used Notepad++, so I imagine that your institution has people who have experience with it and can help you. I honestly haven’t done much with it, because it was my attempt to make it do extra things was what led me to Atom.
Yes…but I don’t know anyone who is expert in this software … but thank you very much for answering my questions … do you know how many programming languages can i use in Atom ?
You can find additional language packages by going to the
Packages page of this web site or
Settings -> Install inside Atom. Just search for any language you want. If nobody has made one, then it’s actually not too difficult to make a new one.
I see … okay what’s your personal opinion " why do you think atom is better than notepad++ "