Comments (9)
I just pushed 0.0.22 which does not require indexing to be true (so does not enable it by default), please try it.
from vscode-terraform.
Seems to only be the case on ubuntu (cannot reproduce on mac for example).
@pdecat is there anything interesting in the Console
tab of the Developer Tools (Ctrl-Shift-I
)
from vscode-terraform.
Here is what happens in the developer console:
console.ts:136 [Extension Host] Scanning for all terraform files...
console.ts:136 [Extension Host] Scanning done.
935 console.ts:136 [Extension Host] Could not parse: Error: spawn terraform-index ENOENT
at exports._errnoException (util.js:1050:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
from vscode-terraform.
Hmm, the freeze seems to trigger only when a terraform file is first opened.
from vscode-terraform.
When the freeze actually happens, there is only one occurrence of the error message in the console (above there were 935 occurrences and it did not freeze as now terraform file was opened):
console.ts:136 [Extension Host] Scanning for all terraform files...
console.ts:136 [Extension Host] Scanning done.
console.ts:136 [Extension Host] Could not parse: Error: spawn terraform-index ENOENT
at exports._errnoException (util.js:1050:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
from vscode-terraform.
if you don't have terraform-index installed those errors are expected but the hang is obviously not expected
from vscode-terraform.
Upgrading to 0.0.22 and removing terraform.indexing.enabled
from user settings works fine.
However, the hang still happens when terraform.indexing.enabled
is set to true.
Also, I installed terraform-index
and the hang also happens with the following messages in the console:
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:257 [Extension Host] Scanning for all terraform files...
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:257 [Extension Host] Scanning done.
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:257 [Extension Host] Updating index for file:///home/pdecat/workspaces/test/test.tf
I have updated the title accordingly.
from vscode-terraform.
this should be fixed in 1.0.0.
from vscode-terraform.
I am seeing this same issue in version 1.3.4.
from vscode-terraform.
Related Issues (20)
- No declaration found for nested object in list HOT 3
- Variable falsely marked as not declared in for_each block. HOT 2
- Completions: Recover partially typed provider defined functions after the first colon has been typed HOT 2
- false "No Declaration found" HOT 4
- Terraform Stacks Editor Support
- Format does not align = signs when type is multiline array HOT 2
- Vscode Language Server is preloading wrong provider version - intellisense then not working HOT 12
- Document is Open - Ignoring Event HOT 3
- Extension report problems in `~/.vscode-server/data/User/History/` HOT 3
- "no declaration found" for heteregeneous list HOT 2
- TFC Login Test
- Terraform Auto complete Not working HOT 8
- vscode always complains `This module is not yet installed` error in submodules HOT 1
- Extension shows a deprecation for an attribute but not the reason HOT 2
- Terraform intellisense is not showing when using module with github as the source HOT 2
- Completions for variables include the var. (unless you don't type the dot) HOT 3
- Syntax Highlighting Breaks If a Function is Split Over Multiple Lines When in String Interpolation HOT 1
- "tags" not expected in `aws_budgets_budget` HOT 3
- Error in transit_encryption_mode attribute on AWS aws_elasticache_replication_group Resource HOT 3
- "Unexpected attribute: An attribute named "private_endpoint_network_policies" is not expected here" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-terraform.