cloudtools / cloudtools/troposphere

Missing intellisense

Open
#1,462 5 comments 6 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.9k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Hi,

If this is some sort of misconfiguration on my end, please tell me to go away and fix my setup, but really, it's only happening with troposphere.

I use VS Code on Ubuntu and over the years I have gotten used to tools helping me to write code. Unfortunately, troposphere seems to be making my job really, really difficult.

```
from troposphere import Template as t, ec2
template = t()
base_vpc = ec2.VPC("vpc")
```

If I now start typing `base_vpc.` I would expect to be able to see properties like `CidrBlock` be available to me via intellisense / tab completion, but nada, it's not.

Similarly, when typing the properties inline to the object, I'd expect to see more than just `template`, but the actual properties, again, something like `CidrBlock`.
![image](https://user-images.githubusercontent.com/8554521/61682256-4354cd80-ad54-11e9-88d4-3ccf46d7c62d.png)

I either have to move my mouse now and hover over `VPC` with a pressed `Ctrl` key

![image](https://user-images.githubusercontent.com/8554521/61682323-8616a580-ad54-11e9-8032-69e38299af4d.png)

or actually look at the source by clicking onto the class.

This **feels** super unproductive.

If someone could please let me know what I have to do to get proper intellisense for troposphere, that'd be great.

Thanks,
David

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.