Hello,
Has anyone else had issues where the browser coding environment will sometimes load but without the Intellisense and code folding? Is there a way to address this and force a load with these features please?
QUANTCONNECT COMMUNITY
Hello,
Has anyone else had issues where the browser coding environment will sometimes load but without the Intellisense and code folding? Is there a way to address this and force a load with these features please?
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Mia Alissi
Hello,
Intellisense is a GUI tool in the QuantConnect IDE that provides auto-completion options and presents the members that are accessible from the current object. It works by searching for the statement that you're typing, given the context. You can use Intellisense to auto-complete method names and object attributes. When you use it, a pop-up displays in the IDE with the following information:
It works with all of the default class members in Lean, but it doesn't currently support class names or user-defined objects.
If you're having issues with Intellisense not loading, it might be due to a temporary glitch in the system. You could try refreshing your browser or logging out and back in to see if that resolves the issue. If the problem persists, it might be worth reaching out to the QuantConnect team for further assistance.
As for code folding, this feature might not be available in the QuantConnect IDE. The IDE is designed to be a simple and straightforward environment for developing trading algorithms, and as such, it might not have all the features of a full-fledged development environment.
If you prefer to use a different IDE with more features, the QuantConnect CLI allows you to develop locally in your preferred IDE. You can also use the Skylight feature for local development with Intellisense support.
For more information, you can refer to the QuantConnect Documentation.
I hope this helps! Let me know if you have any other questions.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Craig McWilliams
Hi Mia,
I don't mean to be snarky, but thank you for telling me what I know. (You must be a consultant :) )…. Perhaps this explanation will help those who do not know what these features are.
My question is why do these features sometimes fail? I have projects that load perfectly in a browser with these features, but many of my projects do not. Once they fail to load the code with the features, the code never again loads with them.
Do you, or does anyone who may be reading this thread, know why this condition occurs and how to fix it so they features do load?
Mia Alissi
Hi Craig,
I understand your frustration with the intermittent issues you're experiencing with Intellisense and code folding. While I don't have a specific answer to why these features sometimes fail, I can suggest some general troubleshooting steps that might help:
Check if you're using one of the supported browsers. If not, try using a supported browser and see if the issue persists.
Test a different supported browser. Sometimes, browser-specific issues can cause problems with web-based tools like the QuantConnect IDE.
Enable cookies in your browser. Some features of the IDE may rely on cookies to function properly.
Disable your browser add-ons. Some add-ons can interfere with the operation of web-based tools.
Check your anti-virus settings. The internet protection of some anti-virus products block the "Service Workers" that the IDE needs to operate. Kaspersky and Avast are the two products that commonly block the IDE from using Service Workers. These are background threads that improve the IDE's experience.
If none of these steps resolve the issue, it might be a problem on the QuantConnect side. In that case, I recommend reaching out to the QuantConnect team for further assistance.
I hope this helps, and I'm sorry I couldn't provide a more specific answer.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Craig McWilliams
Thank you Mia. It is interesting you should suggest measures which address tonic or persistent conditions to solve intermittently occurring issues.
One would think that if the code environment loads with the features once, that it should always load if all environmental variables, including those you mention, remain the same.
I have had issues where the environment wouldn't load at all in Windows11 using Chrome, Chromium (Edge), Internet Explorer. In fact, I use Firefox on Win11 when I connect to QuantConnect as it has always worked. This is a separate issue, but I will say that I have projects that load with Intellisense and projects that load, but without it.
Mia Alissi
I understand your frustration, Craig. Intermittent issues can be challenging to diagnose and resolve. As you've mentioned, if the environment loads with the features once, it should ideally always load if all environmental variables remain the same. However, there can be several factors at play, including browser updates, changes in the IDE, or even network issues that might cause these intermittent problems.
As for your specific issue with Intellisense not loading in some projects, it's worth noting that Intellisense works with all of the default class members in Lean, but it doesn't currently support class names or user-defined objects (source). If your projects that are failing to load Intellisense are heavily reliant on user-defined objects or class names, this could potentially be the cause of the issue.
If you're still experiencing issues, you might want to consider reaching out to the QuantConnect team directly. If you're using the LEAN CLI, you can open an issue in the QuantConnect/lean-cli repository on GitHub. Before doing so, please run the command that's giving issues with the
--verbose
flag and copy and paste the output into the issue. The--verbose
flag enables debug messages to be printed, which makes it easier for the QuantConnect team to help you (source).I hope this provides some guidance and I wish you the best of luck in resolving these issues.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Craig McWilliams
Hey! Amazingly, the coding environment loaded this morning with the features! Spontaneous remission?
Mia Alissi
Hi Craig,
I'm glad to hear that the coding environment loaded with the features this morning! It's possible that the issue resolved itself due to updates or changes on the QuantConnect side, or even due to changes in your local environment or network conditions.
Intermittent issues can be tricky to diagnose and resolve, as they can be caused by a variety of factors. If you continue to experience this issue in the future, I would recommend following the troubleshooting steps provided by Mia.
Additionally, if you're using the LEAN CLI and continue to experience issues, you can open an issue in the QuantConnect/lean-cli repository on GitHub. Before doing so, please run the command that's giving issues with the
--verbose
flag and copy and paste the output into the issue. The--verbose
flag enables debug messages to be printed, which makes it easier for the QuantConnect team to help you (source).I hope this helps, and please don't hesitate to reach out if you have any further questions or concerns.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Craig McWilliams
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!