Comments (5)
Current version of the documentation is misleading.
When vim-force.com was ant
based it included :ApexRefreshFile
. Since the switch away from ant
:ApexRefreshFile
command has never been implemented. You are the first person who asked about it in two years, so I am guessing :ApexRefreshFile
command is not very popular.
I may add :ApexRefreshFile
back at some point in the future, if there is a compelling argument in favour of this.
For now (assuming you do not want to refresh the whole project for some reason) you have two options:
- use
:ApexDiffWithRemoteFile
- this will show you what's different between local and remote versions of the file in the current buffer, and you can pick all or some changes using your diff tool. You may also want to configure'g:apex_diff_cmd'
if you have not done so already. - Switch to
ant
based version of the plugin - you will lose lots of functions, but:ApexRefreshFile
will be there.
from vim-force.com.
Thank you very much neowit!
You are doing an awesome project !
from vim-force.com.
+1 to adding :ApexRefreshFile
back. I must admit my use case is down to bad workflow... but yeah. I would mainly use it for VF Pages. I like to use the developer mode to create/edit some pages as it allows for instant preview. Sometimes I would like to make a very small minor change to the controller/extension (add a new field binding etc), and switching back to vim to make that change can be a pain. Assuming I wanted to then extend that controller/extension, it means I need to refresh the project. If I've got a lot of components, that's going to take extra time waiting for the whole project to refresh, when I know I only need one file refreshed.
Also in the rare case that I'm working with another person, they may edit the same file via their IDE (I'm slowly convincing others to switch to Vim-Force of course), and refreshing an entire project seems like a bit of overkill for just one file. If you added it back in, I'd definitely be happy, but I understand there are probably better things to work on.
from vim-force.com.
Thanks for you comments @nzchicken and @tony534 .
Will keep this issue open for now, to keep :ApexRefreshFile
on my radar.
from vim-force.com.
:ApexRefreshFile
command is back in the latest version of the plugin.
from vim-force.com.
Related Issues (20)
- Cannot run scripts other than :ApexInitProject before running this script HOT 4
- [Question] Is it possible to check what org am I currently using? HOT 3
- [Question] Is it possible to know remote changes author? HOT 2
- Code Syntax Highlighting for files with extension `*.apxc`? HOT 1
- ApexRefreshProject do not download my new CustomSetting HOT 2
- can not run test for specific method HOT 2
- :ApexExecuteAnonymous: show some error for ~100 milliseconds HOT 3
- ApexTestWithCoverage open buffer with incorrect data HOT 3
- :ApexTest - is it possible to skip `Select Log Type to change`? HOT 1
- Auto-completion doesn't work HOT 7
- incorrect syntax highlight HOT 1
- Unable to refresh projects and files (Unexpected end-of-input) HOT 8
- Commands Fail Silently If Another Process Already Bound to Server Port HOT 3
- sfdx support HOT 1
- Unknown function HTMLIndent HOT 12
- Is there an option for force refresh of file. ApexRefreshFile doesn't support "!" like ApexDeploy! ? HOT 2
- Is ApexTListToggle deprecated? HOT 2
- ApexTestWithCoverage fails with below error. My Deploy/Refresh commands don't have any issues HOT 3
- Autocomplete is slow. HOT 2
- LWC support (in non-sfdx projects) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-force.com.