# Developing Slicer modules in Visual Studio / Visual Studio Code?

**URL:** <https://discourse.slicer.org/t/developing-slicer-modules-in-visual-studio-visual-studio-code/9496>\
**Category:** Development\
**Created:** [December 14, 2019, 2:58pm UTC](https://discourse.slicer.org/t/developing-slicer-modules-in-visual-studio-visual-studio-code/9496 "2019-12-14T14:58:35Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![Alex\_Vergara](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/alex_vergara/32/15205_2.png) [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Post date:** [December 20, 2019, 8:53am UTC](https://discourse.slicer.org/t/developing-slicer-modules-in-visual-studio-visual-studio-code/9496/19 "2019-12-20T08:53:33Z")

</div>

I think that is because vtk and ctk are located in a very different folder

```auto
E15TY:dosimetry4d alexvergaragil$ ls /Applications/Slicer.app/Contents/bin/Python/
SlicerWizard ctk mrml.py qt slicer vtkAddon.py vtkSegmentationCore.py vtkmodules
__pycache__ freesurfer.py mrmlDisplayableManager sitkUtils.py vtk.py vtkITK.py vtkTeem.py

```

So adding it to autocomplete paths

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/9/a99666b980f719501b6815e286ea8202d507a8ed.png)  
and  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/9/697b8c0cd794bc9980eb863ee9510cb890524a95.png)

My configuration file is now

```auto
{
    "python.pythonPath": "/Applications/Slicer.app/Contents/bin/SlicerPython",
    "python.autoComplete.extraPaths": [
        "/Applications/Slicer.app/Contents",
        "/Applications/Slicer.app/Contents/lib/Python",
        "/Applications/Slicer.app/Contents/lib/QtPlugins",
        "/Applications/Slicer.app/Contents/lib/Slicer-4.11",
        "/Applications/Slicer.app/Contents/bin/",
        "/Applications/Slicer.app/Contents/bin/Python/",
        "/Applications/Slicer.app/Contents/bin/Python/vtkmodules"
    ],
    "python.linting.pylintPath": "/Applications/Slicer.app/Contents/lib/Python/bin/pylint",
    "python.formatting.autopep8Path": "/Applications/Slicer.app/Contents/lib/Python/bin/autopep8",
    "python.linting.enabled": true,
    "git.autofetch": true
}

```

---

_[View the full topic](https://discourse.slicer.org/t/developing-slicer-modules-in-visual-studio-visual-studio-code/9496)._
