Closed xianggithubli closed 6 years ago
I am not sure about this issue. There is no a question nor description of any sort. There is an incomplete mapper code with some console traces that have nothing about CodeMap.
What exactly you are trying to say?
Just if you are having problems with you mapper I have attached something that works:
Note, you will need to enable your mapped on settings file:
Place your mapper script into C:\Users\user\AppData\Roaming\Sublime Text 3\Packages\User\CodeMap\custom_mappers
And ensure your script produces the map. You don't meed CodeMap for that. You just execute your routine outside of the CodeMap and verify that it produces the map text. Right now it doesn't. It simply produces the empty text.
In the attached script I have modified the map building string and switched off setting the language. You should check if the language you want to return is available on Sublime (have a look at 'code_map.py.py') for that.
oleg-shilo,tks,I found the bug, the code is ok to run if the last two lines were revised as below: ` map = map + content +' :'+str(line) +'\n'
return map`
below is au3 mapper :
and console output below: