How to fix issue if autocomplete or intellisense does not work in vscode for express.js

If the below line is used in the javascript code:const express = require(express); then autocomplete / intellisense will not work. It will not display the relevant methods as shown in the image below. This is the correct code to use:const express = require("express"); The quotation marks make the difference and the following image shows the … Continue reading How to fix issue if autocomplete or intellisense does not work in vscode for express.js

Replace FindViewByID with ViewBinding in Java on Android

In the gradle.build file for the module, add following code and Sync: buildFeatures { viewBinding true } Above automatically generates binding objects for every layout when the plugin is synced. For activity_main.xml, it will generate ActivityMainBinding class. In MainActivity.java, use inflate method on ActivityMainBinding in onCreate method as shown below: ActivityMainBinding bindMain; bindMain = ActivityMainBinding.inflate(getLayoutInflater()); … Continue reading Replace FindViewByID with ViewBinding in Java on Android

Eclipse IDE and Python Development

Python is very easy to learn. However, for newbies, you need a code editor that allows you to view code completion. Code completion helps to develop and learn a new computer language rapidly and that is why, Eclipse is one of the most popular Integrated Development Environments (IDE) out there. To develop programs using Python … Continue reading Eclipse IDE and Python Development