-
Notifications
You must be signed in to change notification settings - Fork 7
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
Include Virtual #6
Comments
I think we can make this happen. Here's my thought on how it'd search for a virtual path:
I'm glad you find it useful. I do plan on making it better as time goes on but it's a side project. We have a lot of ASP still at my company and it's better to have something than nothing so far. |
Thank you for the quick response. Great Work! |
Unfortunately I don't think there's a solution right now for CSS. But this is something I intend to help with when I can implement #4. |
Actually @milacay regarding the CSS completion: I just testing this extension and it works! You can add You may also be able to use this more popular extension but a lot of people seem to be complaining about it. |
Unfortunately, the "IntelliSense for CSS class names in HTML" doesn't work for me. I found the Extension Settings, open the settings.json for "html-css-class-completion.HTMLLanguages" and add "asp" in the language list. Still didn't work. Anything else I need to do? (Sorry, I am new to Visual Studio Code) My style link is like below and Dreamweaver detects the CSS classes in that file (same test file). Thanks again for your time helping out. |
Figured it out now. The asp files need to be in the WorkSpace. :) |
I have been using this extension since I found it (3 weeks ago) and I really like it. I can't wait for the "include virtual" feature to be released. As you mentioned "Allow virtual paths to be set by the user with a setting" would work just fine. Thank you for awesome extension. |
This is exactly what I am looking for, plus the nested includes as mentioned by Issue #11 . It's incredible to still find so much support for ASP Classic. I admit I am one of those that still uses it everyday just because I like it. The virtual path could be a per-workspace setting, i.e. it assumes the root folder is the workspace root level, so virtual="/config.asp" finds the config.asp file in the root of the workspace. |
Sorry it took so long. Include virtual is now implemented. You'll find a new setting where you can set up your virtual paths: Here you are setting up the virtual root directory and the root physical (absolute) directory that it should point to. Let me know if there are any problems getting this to work. |
Looking into this, apologies for that @milacay. |
no problem. Thank you! |
You should see a corrected version to update to now @milacay. Thanks for bringing this to my attention! |
It's most probably that I missed something, as it seems that your settings look just fine. I need to test this more thoroughly and hopefully this'll be a quick fix. |
I am still using this extension daily and it is awesome. Any chance the the "include virtual" setting will release soon? :) |
Any chance that you have look into that quick fix for the "include virtual"? You have the feature built already, but just need to fix a small error somewhere. Much appreciated! |
This extension is like a life-saving oasis for handling sizable, time-honoured Classic ASP projects! The virtual path fix would be awesome. Just for reference, ASPFellow has Virtual Paths working |
I was browsing extensions for classic ASP and so glad that I found this. Does this work for "nclude virtual"? I have many pages using "include virtual" instead. That would be wonderful if it works for "include virtual".
<!--#include virtual="include/utilities.asp" -->
Thank you,
The text was updated successfully, but these errors were encountered: