A
A
Alexander Osadchy2019-07-04 10:06:37
FTP
Alexander Osadchy, 2019-07-04 10:06:37

Can Visual Studio work with SCSS?

Hello!
Can you please tell me how to work with ftp through Visual Studio Code with scss files ... so that they compile automatically?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
archelon, 2019-07-04
@archelon

Not on ftp.
Locally via gulp or an extension like easy sass, and deploy to the server.
---
well, i.e. Of course, you can get confused with compiling scss on the server side.
for example https://leafo.net/scssphp/
but it's better not to.

A
Alexander Varakosov, 2017-09-19
@thelongrunsmoke

Understood. This can be done by giving the initial intent an extra named Intent.EXTRA_INITIAL_INTENTS and an intent with a different action. For example, the original intent ACTION_SEND and EXTRA_INITIAL_INTENTS with ACTION_SENDTO, will give their intersection, on pure android, one gmail.

M
mr_serg77, 2017-09-17
@mr_serg77

Try like this:

//filePath - file at phone.
public void send(String emailTo, String subject, String body, String filePath) {
        Intent email = new Intent(android.content.Intent.ACTION_SEND);
        email.setType("message/rfc822");
        email.putExtra(Intent.EXTRA_EMAIL, new String[]{emailTo});
        email.putExtra(Intent.EXTRA_SUBJECT, subject);
        email.putExtra(Intent.EXTRA_TEXT, body);
        if (filePath != null)
            email.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new StorageFiles(ctx).getFile(filePath)));
        try {
            ctx.startActivity(Intent.createChooser(email, "Choser title"));
        } catch (android.content.ActivityNotFoundException ex) {
            
        }
    }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question