zats / AdjustFontSize-Xcode-Plugin

Instant font size adjustment with control – / control +
270 stars 33 forks source link

Doesn't seem to work on the new Xcode version (7.3) #32

Closed Maslor closed 8 years ago

xhonato commented 8 years ago

Hello i have the same problem. It doesnt work on xcode 7.3 version.

zats commented 8 years ago

Is it possible that it is related to the change of the recent hotkeys change? I did it to avoid conflict with interface builder hotkeys that several people complained about

xhonato commented 8 years ago

@zats Hello. Well it works but with ctrl & -/+ .

Thank you. I saw your read.me and then i realized that you have changed that.

Maslor commented 8 years ago

My font enlarge (ctrl & +) is working but ctrl & - is not. I can increase and decrease the font size in the menu, though, so it might be something in the keyboard mapping?

dmcrodrigues commented 8 years ago

CTRL & - does not work when the code editor has the focus, it seems that this mapping is used for something in the Navigate menu. If you select something in the Project Navigator, moving out the focus of the code editor, it works as expected.

@zats we probably should use another mapping.

zats commented 8 years ago

I'll try to take a look at it this weekend, thanks a lot for the insight!!

On Thu, Apr 14, 2016 at 2:54 AM David Rodrigues notifications@github.com wrote:

CTRL & - does not work when the code editor has the focus, it seems that this mapping is used for something in the Navigate menu. If you select something in the Project Navigator, moving out the focus of the code editor, it works as expected.

@zats https://github.com/zats we probably should use another mapping.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/zats/AdjustFontSize-Xcode-Plugin/issues/32#issuecomment-209857247

nikitavoloboev commented 8 years ago

I can't seem to download AdjustFonts with Alcatrez package manager as it just doesn't allow it. Is there any way that I can make it work with Xcode 7.3?

Thank you for any help.

zats commented 8 years ago

Have you tried downloading the project itself and building it with Xcode?

nikitavoloboev commented 8 years ago

I have. However when you run it, it works but when you quit the adjustfontsize Xcode project, it stops working and I don't know why. It says 'build succeed' when it runs and here is what it shows in the output screen :

2016-07-10 at 21 17

When I try to quit the app, it shows me this :

2016-07-10 at 21 20

Is there a way I can have it loaded and be part of Xcode without having this project be running at all times?

zats commented 8 years ago

I just tried to install the plugin from scratch in 7.3.1 through Alcatraz and it works fine for me. Any chance you can try to reinstall it while having the Console.app open - it might output some sort of warnings in there. Sorry I can't find a better solution yet

nikitavoloboev commented 8 years ago

It seems to be working now, thank you.

However there is one issue I found. When using swift playgrounds, when you zoom in and out, you can no longer see the values on the right :

2016-07-15 at 22 47

Perhaps you can try and see if you can replicate it. Thank you a lot and I hope something like this can be fixed.

zats commented 8 years ago

I actually use playground extensively and it seems to work for me There is another issue with playground though - sometimes they'd get stuck evaluating my code and not showing anything. If you're adding a print("Hello") is getting printed in the console? (⌘⇧Y)

P.S. are you aware that plugins are going away from Xcode 8? Apple sealed Xcode so it won't side load any bundles - all plugins rely on this to run

nikitavoloboev commented 8 years ago

I have just tried writing the 'print("Hello") line in Xcode and it does not show it on the side either however it does print to the console. It's very strange, I am sure the issue is with this plugin as it only stops working after I try and adjust the font size with it.

I have heard about Xcode stopping the side loading of plugins. I also think they are introducing something like Xcode extensions to the app, isn't it the same thing as plugins?

zats commented 8 years ago

I can only suggest to re-run playground with plugins disabled New plugins API is very limited and doesn’t allow to play with interface - only with the text of the editor, hence this plugin and many others will be retired until Apple re-introduce compatible API

On Fri, Jul 15, 2016 at 2:02 PM Nikita Voloboev notifications@github.com wrote:

I have just tried writing the 'print("Hello") line in Xcode and it does not show it on the side either. It's very strange, I am sure the issue is with this plugin as it only stops working after I try and adjust the font size with it.

I have heard about Xcode stopping the side loading of plugins. I also think they are introducing something like Xcode extensions to the app, isn't it the same thing as plugins?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/zats/AdjustFontSize-Xcode-Plugin/issues/32#issuecomment-233068984, or mute the thread https://github.com/notifications/unsubscribe-auth/ACkHJncbGY-Mz2WfMx0xMWwzGgpMEtiIks5qV_VIgaJpZM4IC_4C .

nikitavoloboev commented 8 years ago

So if I was to try and use the beta now, there would be no way to increase / decrease font size with a hotkey? Such functionality should really be part of the default capabilities. This is really strange that you need a plugin for that. :(

zats commented 8 years ago

sadly, yes, this is the current state of affairs

On Fri, Jul 15, 2016 at 2:08 PM Nikita Voloboev notifications@github.com wrote:

So if I was to try and use the beta now, there would be no way to increase / decrease font size with a hotkey? Such functionality should really be part of the default capabilities. This is really strange that you need a plugin for that. :(

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/zats/AdjustFontSize-Xcode-Plugin/issues/32#issuecomment-233070470, or mute the thread https://github.com/notifications/unsubscribe-auth/ACkHJnBexurmXMuc2hU_dejR9145i-4xks5qV_bMgaJpZM4IC_4C .

ghost commented 8 years ago

I'm using Xcode 7.2 and ctrl & - is actually increasing the font, but no possibility to decrease it. Is it normal ?

zats commented 8 years ago

no, it is definitely not normal, can you please take a screenshot of your "Font Size" menu (Under "View" menu) so I can see the hotkeys binding

ghost commented 8 years ago

Here it is :

capture d ecran 2016-08-11 a 12 23 27

zats commented 8 years ago

That's odd, according to the screenshot ⌃- should decrease font size, not increase it please try the steps described in readme to remap the hotkeys and open a new issue if it still doesn't work - this issue became catch-all, I'll close it 🙂