-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I use this thing? #6
Comments
If you download the extension in the VS Code marketplace first, not the zip, https://marketplace.visualstudio.com/items?itemName=Keith-gamble.ignition-flint Then you should able to open your project in a VS Code workspace, and it should attempt to auto-identify the gateway, enabling each of the various features. |
Yes I installed the extension via the marketplace. I was referring to the project backup file that I downloaded from the gateway. Is that the right way? |
I would like to add that I am not sure how to even start using this tool. A more extensive/detailed walkthrough would be greatly appreciated. Perhaps you could give an example use in a video. |
I think I did not understand the instructions at first, nor did I provide sufficient information in my previous request for help. I see the "Ignition Project Scripts" workspace, but I when I expand it, I see "No Ignition project scripts found in the current workspace." What steps do I take to set up scripts in this workspace? I am also receiving the following error when booting VS Code:
Note: I have Ignition installed in C:\Program Files\Inductive Automation\Ignition. Does it need to be installed in the AppData\Roaming folder? I appreciate your assistance. I would love to use this tool as it seems quite powerful. |
@GilRomero4 - a few questions for you:
In my case my answers were Yes/3 and Yes/Yes. When I used version 0.0.28 I did not see any of my projects listed. The 0.0.29 update now shows my projects (I have ~70). |
@acorneliusatqs thanks for the response.
No.
No.
Version 0.0.29
I see no projects listed and receive the error upon starting up VSCode:
Do I need to configure the gateway in the settings.json?
|
I am no longer getting this error:
But the Ignition Project Scripts view remains empty, as shown in the figure. Any suggestions on how to sync this up with my local project scripts? I tried specifying my gateway on the settings.json file for VSCode, but that did not produce any results. It is mentioned that this extension "integrates with Kindling". I have opened a Gateway backup on Kindling, but am unsure if any additional steps are needed. Pls help! |
I do know that the extension is looking for the In my system I have all of the projects cloned locally to a folder. Your screenshot shows 'No Folder Opened'. Also I noticed in the current version that the project scan only happens on startup. There is a refresh button in the Ignition Project Scripts explorer but it's not working for me. V0.0.29. As for Kindling, I get the impression the extension simply provides right-click capability to launch Kindling for the selected backup. I don't think there's any additional functionality there. |
Thanks @acorneliusatqs . I created a local clone and now the Project Scripts view is showing my project scripts. I am now facing other less significant obstacles, but at least I can experiment with the extension for now. Thanks for the additional information. |
I just installed this extension today and I'm trying to figure out how to use it. I think I've opened my project correctly (opening a project folder in VSCode located at I went to the extension settings and opened the Please advise how to resolve/troubleshoot this. I'm very excited about using this extension! |
I had to dig through the code to get the full use of the extension. This is what I did:
Example of "ignitionFlint.ignitionGateways": [
{
"label": "localhost",
"address": "http://localhost:8088",
"projectPaths": [
"/var/ignition-poc/ignition/global"
],
"forceUpdateDesigner": true,
"updateDesignerOnSave": true,
"supportsProjectScanEndpoint": true,
}
] Example of vscode Explorer |
Seems cool. But how do I use it exactly?
I opened my downloaded project in VS Code, after unzipping it.
Where do I go from here?
The text was updated successfully, but these errors were encountered: