Book Image

Mastering PyCharm

By : Nafiul Islam
Book Image

Mastering PyCharm

By: Nafiul Islam

Overview of this book

Table of Contents (18 chapters)
Mastering PyCharm
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

JavaScript support


JavaScript is all around us, and with the advent of NodeJS, it has become (much to my chagrin) undisputedly the most prolific programming language. PyCharm has several JavaScript-specific features to deal with the influx of JavaScript needs. However, it's impossible to cover everything with regards to JavaScript support, and many of the features will appear as you work in PyCharm. So, let's look at some of the best tools that PyCharm has to offer for JavaScript. We will start off with the simplest—code completion.

Getting the most out of JavaScript code completion

JavaScript is a difficult language to provide code completion for. Luckily, PyCharm has powerful tools to make code completion a lot better in JavaScript.

Using JSDoc

There are two things that make JavaScript code completion in PyCharm outstanding—smart type completion and support for documentation, including TypeScript stubs. If you don't know what that means just yet, let me demonstrate. JavaScript has support...