{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/6827","repository_url":"https://api.github.com/repos/spyder-ide/spyder","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/6827/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/6827/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/6827/events","html_url":"https://github.com/spyder-ide/spyder/issues/6827","id":308193934,"number":6827,"title":"Enable automatic insertion of closing quotes inside function calls","user":{"login":"Khalilsqu","id":22060413,"avatar_url":"https://avatars2.githubusercontent.com/u/22060413?v=4","gravatar_id":"","url":"https://api.github.com/users/Khalilsqu","html_url":"https://github.com/Khalilsqu","followers_url":"https://api.github.com/users/Khalilsqu/followers","following_url":"https://api.github.com/users/Khalilsqu/following{/other_user}","gists_url":"https://api.github.com/users/Khalilsqu/gists{/gist_id}","starred_url":"https://api.github.com/users/Khalilsqu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khalilsqu/subscriptions","organizations_url":"https://api.github.com/users/Khalilsqu/orgs","repos_url":"https://api.github.com/users/Khalilsqu/repos","events_url":"https://api.github.com/users/Khalilsqu/events{/privacy}","received_events_url":"https://api.github.com/users/Khalilsqu/received_events","type":"User","site_admin":false},"labels":[{"id":177786063,"url":"https://api.github.com/repos/spyder-ide/spyder/labels/component:Editor","name":"component:Editor","color":"d4c5f9","default":false},{"id":782068535,"url":"https://api.github.com/repos/spyder-ide/spyder/labels/status:Reproduced","name":"status:Reproduced","color":"00f07d","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-23T22:14:47Z","updated_at":"2018-03-24T17:37:49Z","closed_at":null,"author_association":"NONE","body":"## Problem Description\r\nI want the same behaviour as in jupyter notebook of automatic closing of quotes. I change the setting of spyder editor to enable automatic insertion of closing quotes. \r\n\r\nIt works fine while typing in the editor but does not works inside functions.\r\n\r\nCould you help me  how to resolve this issue!?\r\n\r\n### What steps will reproduce the problem?\r\n\r\n1. \r\n2. \r\n3. \r\n\r\n### What is the expected output? What do you see instead?\r\n\r\n\r\n\r\n### Paste Traceback/Error Below (if applicable)\r\n\r\n```python\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\n\r\na = np.linspace(0,10,2001)\r\nb = np.cos(a*np.pi)\r\n\r\nplt.plot(a, b)\r\nplt.title(') # does not work here: only opening quotes\r\n\r\n'' # works here: automatically closes the quotes\r\n```\r\n\r\n## Package Versions\r\n\r\n* Spyder: 3.2.6\r\n* Python: 3.6.4\r\n* Qt:\r\n* PyQt:\r\n* Operating System: windows 10\r\n\r\n### Dependencies\r\n<!--- Please go to the menu entry Help > Dependencies,\r\npress the Copy to clipboard button and paste below --->\r\n\r\n```\r\nPASTE DEPENDENCIES HERE\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/375910916","html_url":"https://github.com/spyder-ide/spyder/issues/6827#issuecomment-375910916","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/6827","id":375910916,"user":{"login":"CAM-Gerlach","id":17051931,"avatar_url":"https://avatars0.githubusercontent.com/u/17051931?v=4","gravatar_id":"","url":"https://api.github.com/users/CAM-Gerlach","html_url":"https://github.com/CAM-Gerlach","followers_url":"https://api.github.com/users/CAM-Gerlach/followers","following_url":"https://api.github.com/users/CAM-Gerlach/following{/other_user}","gists_url":"https://api.github.com/users/CAM-Gerlach/gists{/gist_id}","starred_url":"https://api.github.com/users/CAM-Gerlach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CAM-Gerlach/subscriptions","organizations_url":"https://api.github.com/users/CAM-Gerlach/orgs","repos_url":"https://api.github.com/users/CAM-Gerlach/repos","events_url":"https://api.github.com/users/CAM-Gerlach/events{/privacy}","received_events_url":"https://api.github.com/users/CAM-Gerlach/received_events","type":"User","site_admin":false},"created_at":"2018-03-24T17:37:49Z","updated_at":"2018-03-24T17:37:49Z","author_association":"CONTRIBUTOR","body":"@Khalilsqu A leading character? According to my tests and confirming @ccordoba12 's suspicion above, it was the *trailing* character that was the problem, not the leading one."}}
{"actor":{"display_login":"CAM-Gerlach"}}