193 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Custom JSON Serialization With GSON
Mon, Jan 23rd 2017 5
Recapping 2016
Mon, Jan 16th 2017 8
Rebirth: An App of Ice and Fire
Wed, Dec 14th 2016 7
Scripting Server Upgrades
Fri, Nov 11th 2016 6
Everything Old is New Again
Mon, Oct 24th 2016 7
Git Squash
Thu, Oct 20th 2016 5
MWLUG Success
Wed, Aug 24th 2016 7
Top 10
Building Java Objects From JSON
Thu, Jan 22nd 2015 22
Redmine, CodeRay, and Domino, Oh My!
Mon, Aug 11th 2014 10
Git History Searching
Tue, Jul 12th 2016 10
Fixing Dojo 1.6.1 in Domino 8.5.3
Tue, Sep 2nd 2014 9
When You Need a Comparator
Thu, Jan 8th 2015 9
Enhanced Editors
Fri, May 27th 2016 9
Notes in 9: Docker + SonarQube
Wed, Feb 24th 2016 8
IoT and Raspberry Pi
Fri, May 20th 2016 8
Recapping 2016
Mon, Jan 16th 2017 8
Notes in 9: Highlights From My IBM Connect Session
Tue, Jun 28th 2016 7


Enhanced Editors
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
   

Contents

Intro

Recently, I had a couple of experiences stick out in my mind that made me think I should blog about some “fancy editors”. I’ve referenced them in a couple of my sessions, used SublimeText heavily in the past, and I’ve always been one willing to try out new things. The fact of the matter is, especially when a thing costs nothing to use, you may as well try and broaden your tool set.

Contenders

There are plenty of “fancy editors” to choose from. The fact of the matter is that we live in a post-Notepad++ world, as far as strong text editors (but short of full-blown IDEs) go. The advantage of not going “full IDE” is to, in theory, remain more flexible and fast. These fancy editors are becoming far more configurable as they progress, so I would also argue that the grey area in which these reside has only malleable barriers separating them from “IDEs” and text editors.

The main contenders I see, at the moment, in no particular order, are: - SublimeText* (my previous favorite) - Atom - VS Code - WebStorm IDE*

The last two are slightly more editors in the direction of IDEs, but they’re definitely worthy of considering. Also of note*, SublimeText and WebStorm IDE are paid-for applications, though SublimeText 3 is free while it’s in beta (which it has been for some time), with gentle periodic reminders suggesting a license purchase.

Why I Like SublimeText

A while back, I ponied up the cash for a personal developer license for SublimeText. At the time (when v3 came out), it was the right decision, as it was getting pretty good after version 2 matured, along with a pretty strong integration of a package manager, a strong layout for content and file tree, things like code maps, and fancy features like multiline editing and more. If you check out their homepage, there’s an animated GIF demonstrating some of the more powerful features, and it still is impressive.

I still think SublimeText is a great editor, but having heard good things about multiple others start cropping up, I thought it was worth checkout some of the others out there. I moved on to Atom for a variety of reasons, but I’ve heard good things about both VS Code and WebStorm IDE.

Why I Like Atom

It’s not that it’s made by GitHub, built on top of Node with Electron, though those are all interesting aspects. The largest appeal of Atom is that it has nearly everything I like about SublimeText either as built-in or available as an installable package. It’s extensible to the core, exposed mostly via a personal config interface, so if you can write JS, you can extend your own editor. There are a fair amount of packages (plugins) and themes to keep people busy. A couple of the more notable packages I have installed are:

  • sync-settings, to sync my Atom settings between installs
  • git-timemachine, to view git history of a file
  • terminal-plus, to use my terminal from within Atom (handy for full-screen working)
  • timecop, to keep track of how long Atom is taking to load (so I can remove some of the packages/themes I was overly zealous about installing the first time around)

Atom is free and worth trying out, especially if you haven’t ventured too far out there yet.

VS Code

VS Code is something I attribute to the “New” Microsoft, which plays to its strengths, doesn’t bash Linux, and tries to be relevant through sheer effort; which seems to be working out pretty well. The MS team has open source released an increasing number of projects, of late, not the least of which is TypeScript (I’m a big fan, though still adopting). VS Code seeks to reconcile the needs of modern development tooling with things like .NET dev, git, and things like Node, Sass and LESS, amongst others. If you want to know more about Why VS Code, their page of the same name gives their explanation. My little bit of playing with it is promising. Strangely enough, VS Code is also built on Electron (or not so strange, as the case may be).

WebStorm IDE

This is the only one of the bunch I haven’t played with very much, beyond a 30-day trial over a year ago. It’s worth mentioning, as many tasks seem to be configurable, along with terminal/shell/command sequences that can be plugged in as scripts to run on events (such as saving a file, etc.). For a while, it seemed like the entire world was switching to WebStorm IDE while I held out with SublimeText, but they describe themselves as “the smartest JavaScript IDE”, which I hope is backed up pretty well; I’m guessing so, as they still have a strong user base and continue to add new features.

A (Non-Standard) Use Case

A quick tip, regarding “fancy” text editors, since everything is configurable, everything is configurable. I recently had the fun opportunity to read through a fair number of NSDs from a Domino server. I won’t get into the specifics of the cause, but reading through NSDs can be a little rough, even if you know what your looking for and the layout of such a file. Enter a “fancy” editor to the rescue! Realizing some similarities in the data structure, enough anyway to be “close enough” to help me read through it all, I chose to change my language syntax highlighting to force my editor (shown below in SublimeText) to tread my NSD logs as YAML. YAML is a “human readable data serialization language”, think of it as a superset of JSON, built for ruby; for a crash course, check out the page for YAML on learn x in y minutes. The text blocks looked similar enough and forcing the syntax highlighting helped me keep things from swimming on my screen as I scrolled through several files.

Note: most of these “fancy editors” make an effort at guessing the correct language to use, often by file extension, and put a notifier or change action in the lower right corner (by my experience); Notepad++ has its “Language” menu as well.

Before Language Syntax Highlighting

I tried to blur the names to protect any innocent servers.

After Language Syntax Highlighting


Summary

All in all, I think I achieved my goal in that use case; to better be able to read my log files. I’ll be continuing my trend of getting more used to Atom, although that become pretty familiar after just over a week of hard use. I think for any major MS related work, I’ll probably switch over to VS Code for a while, just to give it a fair go as well. In the end, a tool is a tool, especially if you’ve suffered in the past. Eclipse is often too “heavy” for any front-end or Node work I do, so having something more flexible, immediate, and integrated to that side of things is great. :beers:



---------------------
https://edm00se.io/web/enhanced-editors/
May 27, 2016
10 hits



Recent Blog Posts
5
Custom JSON Serialization With GSON
Mon, Jan 23rd 2017 2:00p   Eric McCormick
Intro Here’s a curious one, in which I found myself with a limitation of not being able to output JSON with scientific notation values. wait, what? If you’re wondering why that is, since both JSON and JavaScript allow scientific notation of number values, you are absolutely correct and that’s a great question. The strange thing was that I found myself outputting perfectly valid JSON to be consumed by something specific which didn’t allow scientific notation. I’m not entirely sure wh
8
Recapping 2016
Mon, Jan 16th 2017 3:00p   Eric McCormick
Intro Per usual, I’ve had a little break between things and decided to catch up with a bit of a summary of some recent things that each didn’t necessitate their own post. 2017 IBM Champion For starters, I’m honored to be named an IBM Champion in Collaboration Solutions (/ Social Business) for the third time. This would be a hat trick in (ice) hockey 🏒. I’m happy to be recognized with a group of people, developers and more, who are passionate about both their work and the plat
7
Rebirth: An App of Ice and Fire
Wed, Dec 14th 2016 4:00p   Eric McCormick
Intro If you read my blog for any of the Saga of Servlets series, then I hope that you’re excited I’m returning to the application I put together for it. This time, it’s as a conversation piece in regards to some of the build process modernization I engaged in recently, in order to unify the code base in its git repository. In any case, it’s helping pave the way forward before I update some of the back-end elements, when it will again be a talking point for some additional rework and
6
Scripting Server Upgrades
Fri, Nov 11th 2016 2:00p   Eric McCormick
Intro This one might be slight departure from my usual, but those that have followed my blogging this past year will have noticed a bit more of a leaning towards DevOps in some of my posts. This echoes a lot of what I’ve been concluding as increasingly a necessary part of development; that we need to consider a picture large enough to encompass the themes surrounding development functions and, like any good developer (DRY ~= “lazy”), automate the heck out of it. Overview I had p
7
Everything Old is New Again
Mon, Oct 24th 2016 8:00p   Eric McCormick
Intro Every so often, it’s good to reassess one’s position. This is good from both a standpoint of being inquisitive and even interrogative, but when it comes to the ever changing landscape of the front-end development space, it’s not only inevitable, but must be embraced for what feels the need to “stay afloat”. I’m changing theme of my blog, hopefully for the better. The previous theme was good and did a great job of getting things started, but while I had forked a copy of a good
5
Git Squash
Thu, Oct 20th 2016 8:00a   Eric McCormick
Intro If you’re just here to learn a little about how to “squash” commits with git, skip down a ways. Otherwise, hold on, and I will catch you up on a couple of personal notes before we get there. On the Blog It’s been a little while since I blogged last. This has been due to a combination of reasons; specifically, I’ve been busy with: my family, it was the end of summer with lots of things going on a number of projects around the house (a deck removal and basement remodel
7
MWLUG Success
Wed, Aug 24th 2016 8:37a   Eric McCormick
Intro MWLUG was a great success as far as I’m concerned. Each time I’ve gone I’ve had the great enjoyment of being able to attend some high quality sessions, meet with lots of colleagues and friends from the community, and get a view into products and solutions many people are undertaking, over conversations and interactions outside of the sessions. This is always a great way of interacting with others who were able to make it. Unlike the IBM conference of Connect(EDsphere), this is purel
2
Manually Renewing HTTPS w/ Let's Encrypt
Wed, Jul 27th 2016 10:40a   Eric McCormick
Intro A while back, I rolled a personal project, which is a Node app, to Bluemix for lightweight use. I managed to make use of Let’s Encrypt for the HTTPS certificate, but only after realizing that there was a bit of a manual aspect to it that is the antithesis of an automated script for such things. Ultimately, after finding some information in a blog post form Marky Roden (of all people), I was able to get moving. The only downside wound up being that time passed, and it came time to renew
6
Eric and the Quest for More Coffee, pt.2
Fri, Jul 15th 2016 4:17p   Eric McCormick
Posted in the “aside” category. Submissions There were three submissions via the Google Form, and a couple more form messages via social media. Honestly, I had debated either a nondescript or far more overt mug w/ the likeness of one of the more iconic of H.P. Lovecraft’s imaginations, but this seemed a bit over the top. Suggested were: a replacement for my alma matter a Go Army, Beat Navy mug (which was never my thing) this gem from shop.Scotch.io (again, pretty overt)
10
Git History Searching
Tue, Jul 12th 2016 10:00a   Eric McCormick
First, A Shout-Out The recording of the session called “Normalizing XPages Web Development” that Shean P. McManus and I gave at the 2-day, virtual ICONUS (formerly IamLUG) event this year is now available from “Archive and Replays”. If you missed it, I recommend checking it out, it’s a great benefit of ICONUS and I hope that those who did get a chance to attend enjoyed the subject material. We covered a lot of ground and were able to demonstrate what is, in my opinion, one of the grea




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition