Best Code Editor 2017 for TypeScript

Recently, I have started working on a TypeScript Quick Start Tutorial, where I have mentioned and used Atom Editor as my favorite editor. But, that created a curiosity and forced me to go for a public poll from the developers all around the world. You will not believe what’s the output of that. We are going to see the best code editor 2017 for typescript development here during this post.

A discussion on the public poll results

Context

I have been busy in creating a short tutorial for people who are moving towards TypeScript language. Whatever reason they might have to go for this new language, the idea was to get them quick start on this language. I have used Atom as my favorite code editor during the course and asked the readers to let me know if they have any thing else as their favorite. But, I was not patient enough to wait for their feedback on it, so went ahead and created a public poll.

The Best Code Editor 2017

With the majority (around 1/3rd) of votes Visual Studio Code is the winner. There were three other contestants in the poll,  powerful Sublime Text (around 1/4th votes), furious Atom Editor (around 1/5th votes) and adorable Adobe Brackets (around 1/20th votes).

Remember: It is not about VSCode vs Sublime vs Atom vs Brackets vs Everything else. It is just about how many developers likes which one.

There was a wild card entries for EMACS and VIM as a popular choice which kind of stole 1/10th portion of the votes from the poll. For me, since a long time Atom Editor is a favorite text editor. No! I am still not moving completely to VSCode. Many of my projects has to wait to get the taste of the new editor. There are a few small code projects however, which can immediately be opened in VS Code.

THE Visual Studio Code

The main focus was to pick an editor which is best suitable for TypeScript development and Visual Studio Code has that as its native resident. It has nice intellisense built in task management, support for (not so many and ever growing) extensions, built in support for git, a debugger. There might be many other features, which I am not aware as of now (remember? … it was not my editor till now!!)

Sublime Text

As the runner up contestant Sublime stood with the second most popular choice for the developers. Subline as I remember was the first thing I used as a text editor when I got frustrated with the windows Notepad. However, I quickly jumped away from that as it was paid editor for the commercial environment and I didn’t want do build a taste for it. I use Notepad2 as a notepad replacement for the simple text editor. Though Notepad2 supports a minimal syntax highlighting, it can’t take a place for a code editor (My expectations are little higher for the Code Editor).

Sublime works on the dictionary based intellisense, nice text editing features, light weight, min-maps, multiple cursor support etc. Since, I have not used it as a code editor, I will not be able to give a list of more features on it.

Atom Editor

Even Atom is my daily driver, I will not bug you all with hosts of features of this code editor. I will only say that consider this editor as the base for anything and everything you wish it to be. There are add-on for almost every functionality you may think of. You can really make this editor yours with support of themes (I am using material theme and a host of add-ons). I will suggest you to go and explore the features yourself and give it a try.

Between the Crowd

I don’t want to hurt anyones feeling here as there are many contenders and are really good too. But, how many have favorited them, that is still a secret. During the poll, there were a few names popped up like VIM and EMACS and a noise for their variants and capabilities. You can go to the poll and watch the progress and comments yourself.

At the end its you who has to make a decision on what hits your liking and how much that editor is useful to you. For me, as said earlier, I am going to make a slow transition to the VS Code. I will leave you here with a best of luck for finding your dream editor and a poll result.

Have a nice day and Happy Coding!

Let’s Encrypt: My Blog is Secured Now

Transport security is a major concern among many webmasters and it was for me too. Imposing a SSL transport layer means a lot for many of us. But, this comes with a cost. On top of that the management of SSL certificates is a tedious job especially for them who are novice in maintaining the servers and infrastructures. Such people go out seeking the professional services, many time for smallest job in the world. I have helped many of my friends and colleagues setting up SSL and believe me it is not easy.

Do I need to secure the blog over SSL?

YES, of course, why not? If you are a serious blogger (which I am pretending to be, at least from a few days), you should protect your work, your property (blog and posts) from them who wish to misuse another opportunity to destroy it. Mind it, as soon as your blog becomes popular and start gaining visitors, hackers and pirates will try to gain access to that, for whatever reason they have to sabotage your beautiful work.

These are some of the main reasons I think you should consider for this.

  • Your blog becomes very difficult to be hacked or hijacked.
  • The visitors / readers are more secure, when they are on your blog. They might feel free to enter their email for the subscription or while entering the comments are it is securely transferred to back end.
  • Search Engines will start respecting your site and it may get a little push in the ranking.

Let’s Encrypt

I have a few self hosted WordPress blogs, which I have started as a hobby and have not maintained them all quite well for quite a long time. But, recently I started giving serious thought to my writing and maintaining my blogs. In a couple of days, after a few blog posts, I started thinking, what if my blog is also secured over an SSL.

SSL! it’s going to be a challenge. I used to think like that and struggle lot until, Let’s Encrypt came as a savior for me and all who were struggling.

A Ubuntu VM on AWS hosts my blogs, where I use Apache2 as web server. Let’s Encrypt makes our life so easy that it just takes a few minutes to enable SSL on your blog. I guess you are having the similar setup. So, let’s start. All you need is a shell access to the server.

Steps

  1. Open your terminal and login to your server console. Once you are in there, you have to download a small shell executable name certbot-auto. Remember that you may require a sudo access to do so.
    • navigate to your home directory and create a new folder named “le” (you can name it whatever you wish to but I like it that short)
      mkdir le; cd le
    • now you have to download the required program, so, enter the below command in the shell
      sudo wget https://dl.eff.org/certbot-auto
      (if you don’t have wget on your server, you can install it using sudo apt-get install wget)
  2. The required program is there, but now you to grant it permissions, so that it can be executed in your server.
    sudo chmod a+x certbot-auto
  3. Now this application is ready to help you setup your Apache2 instance and serve your blog domain over SSL. Go ahead and enter the below command.
    certbot-auto --apache -d myblog.com -d www.myblog.com
    (myblog.com should be replaced by your domain. Also in case you are not serving your domain over www sub domain then you can omit that part)
  4. If you are executing this command for the first time, which seems to be true here as of now, the above command will go and install the required dependencies.
  5. After installing the dependencies, it will start asking you a few questions, like your email address for it to keep you updated about the expiry of the certificates. It will also prompt you if you wish to keep http along with https.
  6. Once you have answered all the questions, it will obtain the required certificates and configure them as required.

Your site is now ready and should be accessible over https now.

You Should Feel Secured Now!

I am feeling the worlds most secured person as of now, after installing SSL here and you should too. It is quite straightforward and simple. Feel free to reach me  by leaving your comments below and I will try to answer your questions. Let me and everyone know, what’s your thoughts are on the transport security of blogs. Are you opting in or already serving your visitors a secured content?

P.S.: Your feedback is important for me and will improve the upcoming contents.

What is Coming Next

What is Coming Next – 14 February 2014

Hi Everyone,

Keep watching and subscribe our YouTube Channel MindzGroupTech as a lot of new stuff is in production. A lot to learn and gain. Here is the top few items in production queue:

  1. jQuery Plugin Development.
  2. Intuit QuickBooks API v3 with PHP.
  3. Development Environment Setup – SharePoint Foundation 2010