Skip to content

Commit

Permalink
ApexRetrieve - added warning about bulk retrieving standard objects
Browse files Browse the repository at this point in the history
  • Loading branch information
neowit committed Jan 26, 2015
1 parent 7e1000e commit efd6bfe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apex-plugin/apexRetrieve.vim
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ function! <SID>ToggleSelected()
"add mark
let lineStr = s:setSelection(lineStr, 1)
let removeParentMark = 1

if "*CustomObject" == lineStr
call apexUtil#warning("You used wildcard (*) against 'CustomObject' type.")
call apexUtil#warning(" Please note - this will NOT include any standard objects.")
call apexUtil#warning(" To retrieve Standard objects you must call :Expand and select each object type explicitly.")
call apexUtil#warning(" See more details here: http://www.salesforce.com/us/developer/docs/daas/Content/commondeploymentissues.htm")
endif
endif
call s:setCurrentLine(lineStr)

Expand Down

0 comments on commit efd6bfe

Please sign in to comment.