# Visual Studio does not display geant4 basic classes(solved)

**URL:** <https://geant4-forum.web.cern.ch/t/visual-studio-does-not-display-geant4-basic-classes-solved/1045>\
**Category:** Ideas and Requirements\
**Created:** [October 8, 2019, 12:21pm UTC](https://geant4-forum.web.cern.ch/t/visual-studio-does-not-display-geant4-basic-classes-solved/1045 "2019-10-08T12:21:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abedbayat](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/abedbayat/32/384_2.png) [@abedbayat](https://geant4-forum.web.cern.ch/u/abedbayat)\
**Post date:** [October 8, 2019, 12:21pm UTC](https://geant4-forum.web.cern.ch/t/visual-studio-does-not-display-geant4-basic-classes-solved/1045/1 "2019-10-08T12:21:44Z")

</div>

Hello. I have installed Visual Studio on Ubuntu but it does not list geant4 basic classes and methods when programming. While listing c++ classes. Can something be done to list the basic classes and methods?  
Do you know a code editor other than Visual Studio that gives us a list of geant4 classes when programming?  
Thanks for your accountability

---

<div class="post-metadata">

**Author:** ![abedbayat](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/abedbayat/32/384_2.png) [@abedbayat](https://geant4-forum.web.cern.ch/u/abedbayat)\
**Post date:** [October 10, 2019, 12:03pm UTC](https://geant4-forum.web.cern.ch/t/visual-studio-does-not-display-geant4-basic-classes-solved/1045/2 "2019-10-10T12:03:10Z")

</div>

I installed the IntelliSense Extension in Visual Studio and the problem was fixed.  
Installation Guide for Visual Studio Extensions: go to view -\> Extensions -\> search IntelliSense -\>install

---

<div class="post-metadata">

**Author:** ![abedbayat](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/abedbayat/32/384_2.png) [@abedbayat](https://geant4-forum.web.cern.ch/u/abedbayat)\
**Post date:** [April 12, 2021, 11:32am UTC](https://geant4-forum.web.cern.ch/t/visual-studio-does-not-display-geant4-basic-classes-solved/1045/3 "2021-04-12T11:32:28Z")

</div>

The manual method to solve it is add " ` includePath`" to “c\_cpp\_properties.json”

1. open visual studio  
2.file → open folder  
3.open project from Right bar  
4.view → command palette → type _**c/c++: edit configurations (ui)**_  
5.find and click on **c\_cpp\_properties.json**  
6.add path of the header file to **includePath**. like as below:  
“includePath”: [  
“${workspaceFolder}/\*\*”,  
“/home/ubuntu/G4/G4\_Install/include”,  
“/home/ubuntu/G4/G4\_Install/include/Geant4”,  
“/home/ubuntu/Geant4\_workdir/Ex4opt2/EX4\_optical/include”  
],  
[https://github.com/microsoft/vscode-cpptools/issues/1041](https://github.com/microsoft/vscode-cpptools/issues/1041)
