Patrick Keenan
@pkme
Is there a way to disable the mini preview window? Its really annoying on autorefresh, I generally use another window to see my result. But any time I
Bookie0 Screen Shot 2021-03-31 at 12.01.21 PM
Do you mean this preview window? Can't you just drag it down? Or do you mean something else?
Screen Shot 2021-03-31 at 12.01.52 PM2 years ago
pkme My workaround is:
Inspect the page
Select the webpreview
Delete it
Seems weird I have to do this, but if I don't my cursor loses focus every couple seconds due to refresh.2 years ago
InvisibleOne Just drag it to the side until it is really small, then you should be able to work with it mostly being out of your way.2 years ago
When I import a module from a file in the source root it works, but when I import from a subfolder(scripts) typescript complains. How can I connect th
xxpertHacker The IDE's syntax highlighting and intellisense rules are internals that users may not modify.2 years ago
pkme The folder is not the issue, I just realized one is a ts file the other is js. But the issue remains, what drives the module linting and why isn't it finding the node modules?2 years ago
When I import a module from a file in the source root it works, but when I import from a subfolder(scripts) typescript complains. How can I connect th
TheBest156 There's no need to mess with your PYTHONPATH or sys.path here.
To properly use absolute imports in a package you should include the "root" packagename as well, e.g.:
from dirFoo.dirFoo1.foo1 import Foo1
from dirFoo.dirFoo2.foo2 import Foo2
Or you can use relative imports:
from .dirfoo1.foo1 import Foo1
from .dirfoo2.foo2 import Foo22 years ago