It is currently October 21st, 2019, 4:11 am

Atom

Discussion about the documentation, main Rainmeter site and forums.
User avatar
MarcoPixel
Posts: 40
Joined: June 8th, 2012, 9:43 am
Location: Austria

Re: Atom

MarcoPixel » December 17th, 2017, 12:19 am



Here's a screenshot of Atom with the language-rainmeter syntax installed on the default theme.
User avatar
jsmorley
Developer
Posts: 19591
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Atom

jsmorley » December 18th, 2017, 12:03 am

Ok, cleaned things up a bit and added Atom.

https://docs.rainmeter.net/tips/notepad-alternatives/
User avatar
~Faradey~
Posts: 367
Joined: November 12th, 2009, 4:47 pm
Location: Ukraine

Re: Atom

~Faradey~ » December 18th, 2017, 12:48 pm

this question is to Atom users:
i wonder if this problem https://forum.rainmeter.net/viewtopic.php?f=4&t=22856&p=120610#p120610 still exists. :)
User avatar
CyberTheWorm
Posts: 661
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Atom

CyberTheWorm » December 18th, 2017, 6:54 pm

DannysNotHere wrote:I think that they should add the text editor Atom to the Notepad alternatives due to its useful and free nature.
Thanks for this, I have always used Notepad++ but I'm starting to like this more and more.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
raiguard
Posts: 642
Joined: June 25th, 2015, 7:02 pm
Location: The Sky, USA

Re: Atom

raiguard » December 18th, 2017, 7:36 pm

CyberTheWorm wrote:Thanks for this, I have always used Notepad++ but I'm starting to like this more and more.
I used Atom for around a year and loved it. However, I began to run into performance issues that I could not solve, so I switched to Sublime Text. In my opinion Sublime is infinitely better in almost every way, and runs extremely quick and smooth. And despite it having a “limited trial”, you can actually use the trial indefinitely without having to pay.

So I would recommend Sublime over Atom, but both are great editors.
”We are pretty sure that r2922 resolves the regression in resolution caused by a reversion to a revision.” - jsmorley, 2017
User avatar
MarcoPixel
Posts: 40
Joined: June 8th, 2012, 9:43 am
Location: Austria

Re: Atom

MarcoPixel » December 19th, 2017, 5:00 pm

~Faradey~ wrote:this question is to Atom users:
i wonder if this problem https://forum.rainmeter.net/viewtopic.php?f=4&t=22856&p=120610#p120610 still exists. :)
File encoding isn't an issue anymore because Rainmeter supports Character variables which are essentially small strings which represent an symbol.

For example, if you want to use the degrees symbol (°) you can use

Code: Select all

[\x00B0]
regardless of the encoding of the file.

Read more about Character variables here: https://docs.rainmeter.net/manual-beta/variables/character-variables/
User avatar
jsmorley
Developer
Posts: 19591
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Atom

jsmorley » December 19th, 2017, 5:44 pm

MarcoPixel wrote:File encoding isn't an issue anymore because Rainmeter supports Character variables which are essentially small strings which represent an symbol.

For example, if you want to use the degrees symbol (°) you can use

Code: Select all

[\x00B0]
regardless of the encoding of the file.

Read more about Character variables here: https://docs.rainmeter.net/manual-beta/variables/character-variables/
File encoding is still important in Rainmeter and Lua, so any good text editor needs to make it easy to deal with that.
User avatar
MarcoPixel
Posts: 40
Joined: June 8th, 2012, 9:43 am
Location: Austria

Re: Atom

MarcoPixel » December 19th, 2017, 6:00 pm

jsmorley wrote:File encoding is still important in Rainmeter and Lua, so any good text editor needs to make it easy to deal with that.
I think with UTF-8 as default, it won't be that big of an issue.

At least they are working on auto-detection directly built into Atom and i'll hope they manage to put this feature into the next version.
User avatar
jsmorley
Developer
Posts: 19591
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Atom

jsmorley » December 19th, 2017, 6:06 pm

MarcoPixel wrote:I think with UTF-8 as default, it won't be that big of an issue.

At least they are working on auto-detection directly built into Atom and i'll hope they manage to put this feature into the next version.
UTF-8 is no good for Rainmeter skins at all.
User avatar
raiguard
Posts: 642
Joined: June 25th, 2015, 7:02 pm
Location: The Sky, USA

Re: Atom

raiguard » December 19th, 2017, 6:22 pm

jsmorley wrote:UTF-8 is no good for Rainmeter skins at all.
I converted all my skins back to UTF-8 once CR variables became a thing. It makes the files smaller, and it plays nicer with GitHub (GitHub can’t compare code changes in UTF-16 LE files for some reason).

Is there some overarching reason why using UTF-8 is a bad idea?
”We are pretty sure that r2922 resolves the regression in resolution caused by a reversion to a revision.” - jsmorley, 2017