Coder Social home page Coder Social logo

Comments (5)

github-actions avatar github-actions commented on August 23, 2024

Welcome!

Thank you for finding time to write an issue and make this extension better. I`ll appreciate if you find some time to rate this extension here.

I`ll get back to your ASAP.

from vscode-st.

Serhioromano avatar Serhioromano commented on August 23, 2024

This extension does not parse files that are not opened. Please explain your case. You have file extension that match this extension?

from vscode-st.

rbastens avatar rbastens commented on August 23, 2024

My apologies for the late response. I was on vacation!

I am using Simatic AX. This is an engineering environment from Siemens that uses Visual Studio Code. Programming is done in .st files and Siemens has its own ST language support extension.

Siemens only allows programming in one specific directory “src/”. So, only this folder is compiled and downloaded to the PLC (S7-1500). Only our software can be used in different type of PLCs, where the language support of Siemens cannot handle the language support of these other PLCs. But we want to program all this in Simatic AX IDE, since it uses Visual Studio Code anyway. So for this, we created another directory, so that we don't get problems with the ST language support from Siemens.

But now for this other directory we don't have ST language support and for this we would like to use this ST language support. But when we use this extension, it also overrides the ST language support from Siemens in this “src/” directory. Therefore, we would like to use a setting to exclude this “src/” directory from this ST language support.

from vscode-st.

Serhioromano avatar Serhioromano commented on August 23, 2024

You have an option right now in the status bar to change file language and switch what language support extension will handle it. I'll look into it that is possible to add exclude folder.

from vscode-st.

Serhioromano avatar Serhioromano commented on August 23, 2024

You have an option right now in the status bar change file language and switch what language support extension will handle it. Looks like there is no way. No easy way. It is not clear to me how to do that. Because VS Code do it all itself. I only set a file extension. SO fo you only way is to switch language.

from vscode-st.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.