title: IntelliSense for Python not working consistently
body: <p>I have just installed the python development environment from within the <code>Visual Studio 2017 Enterprise</code> installer (running version 15.9.5 which is latest as of now).</p>
  <p>Here is some code snippet that I am currently working with.</p>
  <pre><code># TensorFlow and tf.keras
  import tensorflow as tf
  from tensorflow import keras
  
  # Helper libraries
  import numpy as np
  import matplotlib.pyplot as plt
  
  [...]
  
  # Sequential() provides a stack of layers
  model = keras.Sequential([
      keras.layers.Flatten(input_shape=(28, 28)),
      keras.layers.Dense(128, activation=tf.nn.relu),
      keras.layers.Dense(10, activation=tf.nn.softmax)
  ])
  
  # ==&gt; trying to use autocompletion here 
  model.
  </code></pre>
  <p>I am wondering why I don't have <code>IntelliSense</code> support for the instance <code>model</code> but eg for <code>tf</code>. It seems that it's not working consistently.</p>
  <p>What am I doing wrong here?</p>
  <p><a href="https://i.stack.imgur.com/SbyVf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SbyVf.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/Qfv1v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Qfv1v.png" alt="enter image description here" /></a></p>
  <hr />
  <h1>Edit</h1>
  <p>I have already tried to refreh the IntelliSense database. However it always seems to freeze when it comes to analyzing the numpy library. This seems to be a know issue.</p>
  <p>Microsoft is going to replace the IntelliSense database with the upcoming Visual Studio 2019. This is all well and good, but wont solve my problem.</p>