Notepad ++ auto complete not working when coding on a server - autocomplete

When I write code locally on my computer using notepad ++ (Just from my desktop, documents folder, etc.) the autocompletion works just fine.
However, when I open an HTML or PHP file from Filezilla the autocompletion no longer works.
Can anyone suggest how I may overcome this or is it something I just have to live with when working on a server?
Thank you!

Related

VSCode: opening one remote file using rcode closes another

I recently started looking at VSCode as a possible substitute for Sublime 3 (I use Mac OS Sierra 10.13.1). I regularly work with code on a remote server, so I installed "rcode", following the steps in https://codepen.io/ginfuru/post/remote-editing-files-with-ssh.
Everything seemed to be working nicely, until I tried editing two files at the same time:
rcode file1.py
rcode file2.py
Each time I opened a new file from the remote server, the first one closed automatically, leaving me with just file2.py open.
This is really frustrating, since I need to go back and forth between them, and I can't find any information on this issue. I have the same problem using "rmate".
Has anyone else run into something similar and is there a work-around? I never had a problem working with multiple files in Sublime.
It's not a perfect solution, but if you change "workbench.editor.enablePreview" to false in your settings, rmate (and probably rcode) will open files in new tabs.

run file in browser from vscode

just installed vscode and I'm missing a trick which I think should be obvious but I just can't seem to find the answer.
I run apache as my local test server. When I'm in vscode and have a root folder open I would like to be able to send any file I'm editing to my browser and use the root folder name + relative path to file in the url sent to browser.
so what I actually want to send to browser is full url :
http://localhost/current-root-folder-in-vscode/relative-path-to-file
the file could be the open open one or one listed in vscode explorer which is not open.
suggestions much apprceiated.
p.s. I have searched possible vscode extensions and haven't found anything that seems to do it.
Fixed. I edited View-In-Browser extension locally to make it work the way I want.

Why eclipse preference general->workspace->refresh using native hooks or polling not working?

I'm using vim in cygwin writing javascript code, using eclipse tomcat as web server. I checked the preference refresh using native hooks or polling. But after I write the buffer in vim, the project won't get refreshed, so the hosted application won't get republished neither. Only after I press F5 on the project manually, then everything works fine. Can someone help here? What am I doing wrong?
By default, Vim writes the file contents to a temporary file and then moves that over the original, see :help backup. Since this is now a different file (handle), the hooks set up by Eclipse may stop working.
You can make Vim override the original file by setting
:set backupcopy=yes

How can I upload to GitHub through Putty?

I'm very new to GitHub and I'm trying to figure out how I can upload to GitHub through Putty. I am using Windows 8 and am using a Linux environment through Putty. I was following this guide: https://help.github.com/articles/generating-ssh-keys#platform-windows and it worked until (step 3) where it wanted me to copy the contents of the file to clipboard. I am assuming this is not possible because my Linux environment does not have clipboard.
The issue is mostly due to the fact that my code is on the linux envirnonment and I am not sure how I can upload it to GitHub. Does anyone have any advice as to how I can do this?
Cat the file out, and copy the contents from the putty session (just highlighting the text in putty will copy it to your clipboard):
cat ~/.ssh/id_rsa.pub
Make sure to remove any new lines inserted caused by putty wrapping the text.
You will have an easier time using MinGW on Windows, or even the Github for Windows client (the latter works "out of the box")
If using MinGW, I would recommend opening C:\Users\YourUserName\.ssh\id_rsa.pub in a text editor, such as sublime text, and copying the text, instead of using cat, because that will ensure that you do not get extra whitespace inserted by the shell (Windows command prompt is pretty bad with that sort of thing).
If using the Github for Windows client, you don't need to do any of this (it happens behind the scenes for you), and instead you simply need to login to your Github account in the client.

QuickText in notepad++ not saving code snippets!

I installed notepad++ on Windows7. I installed QuickText into notepad++. I add my custom snippets into QuickText and while notepad is open, the snippets work fine. As soon as I close notepad and open it again, the snippets are gone. Has anyone else had this problem, it should be an easy fix? They are not persisting or sticking.
Anyone know how to fix this? Any ideas?
Haven't used Quicktext but it looks like it is no longer under development.
From what I can tell FingerText is similar, and hopefully should be able to do what you are after.
The complete answer lies in a combination of Nick's and Jrod's answers.
If you create the a Config folder in the C:\Program Files\Notepad++\plugins\ (or C:\Program Files (x86)\Notepad++\plugins\ if you installed it to that folder) and then place the QuickText.ini file within that folder you will notice many default "snippits" show up.
Now in order for you to save your "snippits" if you are in Windows 7 or Vista (which will save to the QuickText.ini file) you must run Notepad++ as Administrator.
As a side note the snippits save fine with in Linux if you install Notepad++ through Wine.
This issue is caused by administrative privileges. You need to run notepad++ as an administrator or it will fail silently.
You must copy QuickText.ini to folder c:\Program Files\Notepad++\plugins\Config\ (I created this folder itself)
This page help me
Sorry for my badly english. Your problem is in inslall. Correct install:
Copy to folder plugins all files except one (quicktext.ini).
In such directory create new folder config.
Copy quicktext.ini into it.
After such installation snippets works correctly.