I have downloaded
clrscode3e.sty file and put it at the corresponding place, it works now. But TeXstudio auto completion fails. How does TeXstudio achieve auto completion? What can I do to enable auto completion for
after trying for some while, I have worked out the way.
according to user manual, go to the TeXstudio config directory:
This directory is placed in ~/.config/texstudio under linux and usually "c:\Documents and Settings/User/AppData/Roaming/texstudio" under windows
then go to sub directory
completion\autogenerated, you can see lots of
cwl files. open one with text editor. If you see some lines end with
#S, this is the cause. If you are using linux, then a single line of
sed -i 's/#S$/#/g' *.cwl should do the trick. If you are using windows, maybe you can checkout cmd scripts to find out how to do it.
according to my experience, either replacing
# or removing
#S does the trick.