PhpDoc
PhpDoc copied to clipboard
Sublime text 3 compatibility
Is there any plan to make this plugins compatible with Sublime Text 3?
it works just fine in ST3 just clone it in the packages folder
git clone https://github.com/SublimeText/PhpDoc.git
i tried it but i think i'm not doing it right cause it doesn't work.
@brice it works just fine just go to the line before the method type /** and press Ctrl+space
I think the package is not take in account. I made the git clone in .config/sublime-text-3/Packages. But after that nothing seems to work and i don't see any settings about the phpdoc package.
what os do you have ? Make sure you do it in the folder you open from Preferences->Browse Packages
I have Ubuntu 64 bit and i did it on the folder open from the Browse Packages action
The package may be compatible with ST3, but it's listed as ST2 only on Will Bond's packages site. Any chance of getting that rectified somehow?
See: https://sublime.wbond.net/packages/PhpDoc
I have sent a pull request to make phpdoc compatible with the SublimeText 3.
https://github.com/wbond/package_control_channel/pull/2105
I'm just looking at ensuring everything works and merging #9.
Working on Sublime Text 3, installed by Package Manager.
I think it just needs and update on the README and then, close this issue.
I've just downloaded this and I'm trying to get it to work with ST3. ( on Mavericks )
Typing /** and ctrl+space or cmd+space does nothing but create a new line.
When I type /** and tab ( my autocomplete ) all I get are new lines with * on them, I don't think this is working as intended.
After more testing, it seems that the PHPDoc package is not overriding the default 'DocBlock' autocomplete that ships with ST3.
I disabled all packages and did the /** autocomplete without any packages and I get the same result with or without PHPDoc installed.
Same behavior on my configuration (linux ubuntu 12.04 with ST3)
I've just checked this on my OSX Mavericks install and pressingctrl+space
after /**
has expanded to the complete comment header code as expected.
@rawrkats and @brice did you install via Package Control? I've just installed fresh from PC and it worked fine :+1:
I can write a DocBlock .. but how can I generate the documetation? The rightclick on a file or folder doesn't work.
I can confirm the same behavior as @brice and @rawrkats mentioned. I am running sublime-text3 on elementaryos (e.g. Ubuntu 12.04) and installed PhpDoc throuogh Package Control.
I can also confirm same behavior as @brice @rawrkats amd @hannenz.
ST3, phpDoc from package Control.
Linux version 3.11.0-15-generic (buildd@batsu) (gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu8) ) #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013
I have reinstalled the package and now it works but it is only working for files with .php extension. I have many .inc files and i am using phpdoc all over my porojects (sass, js, whathaveyou). Is there a way to configure the file extensions or switch of detection completely?
I had the same issue (Ubuntu:Unity:FR & ST3). I works while I type: "/**" then I go to to menu Edit > Completion. The menu doesn't show the keyboard shortcuts. A friend on Debian:Gnome2:FR & ST2 has the keyboard shortcuts in the menu. It isn't CTRL+SPACE, but ALT+/.
And it works fine ^^
@1e1 TY, works for me too ^_^
Linux Mint 16 “Petra” Cinnamon
OSX 10.9.3, Sublime 3 (Stable 3059), installed via Package Manager, same behavior noted by @mmswiderski, @brice, @rawrkats, @hannenz.
@1e1 is right. It works for me on linux mint Alt+/ is the right shortcut. I installed it the packages dir using git clone
XUbuntu 14.04 same problem as @brice /** [tab] produces the following: /** * */
/** [ctrl+space] --> Nothing
/** then going to Edit->Show Completions Produces the expected result. Edit->Show Completions has shortcut alt+/ for auto_completion but it does not works using the shortcut, only works when clicking on menu option.
ST 3 - Package Installed via Package Controll.
Not working here
ST Build 3065 Ubuntu 14
I installed it using Package manager. I also tried cloning it. PhpDoc is showing in the "Browse Packages" folder
clicking Ctrl+space just do nothing
Same problem here
For me it works with CTRL+Space, but it doesn't with TAB. I'm on Windows 8.
@ajberasategui I had exactly the same problem but the shortcut for Alt+/ works. More precisely, the slash key on the numeric pad doesn't works, instead I use Alt+Shift+/ (the slash near the AltGr key).
Same problem here.
Identical results to ajberasategui. OSX Yosemite 10.10.5.
I have Quicksilver installed, which is over-riding ^-Space. Setting "auto_complete_commit_on_tab": true in user preferences makes no difference. No joy with Alt-Shift-/ or Alt-/
ST3, package installed via package control
build:3103 - already there is a snippet in the format /**,tab
that produces
/**
*
*
*/
installing this is not producing expected doc block. :cry: sad.
Ubuntu 16.04, same problem.. solved by typing /**
, then ctrl+space and then go down until the /**
autocomplete and press TAB. Quite impractical though...