In the Browser it's not possible to delete shapefiles. In ArcMap you can delete shapefiles easily within the ArcCatalog.
How can I delete shapefiles in QGIS without minimizing the QGIS Window, navigating to the folder on my computer, select all the files that belong to a shapefile (shp, dbf, shx, prj, etc.) and delete it?
Best Answer
There is a built-in function for this in the QGIS API.
Select your layer in the Layers panel, then open the Python console and run the following: