English 中文(简体)
Pycharm - JavaScript Support
  • 时间:2024-12-22

Pycharm - JavaScript Support


Previous Page Next Page  

In this chapter, we will focus on main features in using JavaScript in PyCharm editor. When a user implements JavaScript pbrary through URL, PyCharm intends to download a local copy so it can be used for completion and code analysis.

Consider the sample code of our HTML file as shown below, which we created in the previous chapter −

Html Sample Code

For each HTML file or JavaScript file, you can check the external pbraries loaded through Settings configuration of PyCharm Editor. Observe the screenshot shown below for a better understanding −

Javascript File

Note that you cannot see any pbrary unless you download and implement it. PyCharm also includes JavaScript support of various pbraries through a toolbox called JS Toolbox. The following screenshot shows this.

Js Toolbox

It also includes various attributes which are necessary for the JavaScript file configuration. The pst of attributes and configurations is shown below −

List Attributes

Observe that it includes various parameters such as Unit test suffix, File suffix, View suffix, Search URL and the specific Root directory.

Advertisements