Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 07-31-2016, 11:39 AM   #1
dylankuiperss
Junior Member
FlashFXP Registered User
 
Join Date: May 2015
Posts: 2
Thumbs down File association gone wrong?

Hello FlashFXP,

I've been having this problem for about 2 years now. In FlashFXP I've set the file associations of css, html, js and php to view and edit them with Sublime Text 3 (ST3). But..

Editing css, js and php will open the files with Notepad.
Editing html files will open them with ST3.

Viewing css, html, js and php will open in ST3.

I'm using Windows 10, and in the file associations of my system all is associated with ST3.

So why can't I edit css, js and php with ST3?

Thank you in advance.

Dylan
dylankuiperss is offline  
Old 07-31-2016, 12:46 PM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

You can define the file associations within FlashFXP to ensure the desired application is always used to edit or view the file type.

From the main menu select > Options > File Associations

Then from the File Associations dialog click the New Entry button

Add the desired file masks
You can add multiple masks at once by separating them by a ;
*.css;*.htm;*.html;*.js;*.php
Or simply add them one by one
*.css
*.htm
*.html
*.js
*.php

Set the Open With to your preferred editor
In my example used notepad++

Check the desired use to view/edit options and then click the OK button.




Now on the File Associations dialog click the Save button to apply your changes.


Last edited by bigstar; 07-31-2016 at 12:51 PM.
bigstar is offline  
Old 07-31-2016, 12:55 PM   #3
dylankuiperss
Junior Member
FlashFXP Registered User
 
Join Date: May 2015
Posts: 2
Default

I know how to add file associations. I think you didn't understand my thread correctly.
dylankuiperss is offline  
Old 07-31-2016, 02:50 PM   #4
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Do you have the file associations defined within FlashFXP or are you relying on the Windows 10 file associations?

If you have them defined within FlashFXP they are guaranteed to work, but sometimes relying on Windows can be hit or miss.

But if you do have them defined within FlashFXP and they still don't work. I would recommend verifying the file masks and make sure there are no extra spaces (we now trim spaces but this wasn't always the case)

I am also assuming that you're using the latest version of FlashFXP, if not, then please upgrade. There was an issue we fixed a few months back where if you edited a file with for example notepad then that specific file would always open with notepad even if you changed the file associations.

Last edited by bigstar; 07-31-2016 at 03:13 PM.
bigstar is offline  
Closed Thread

Tags
css, flashfxp, html, php, st3

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:45 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)